e2e: only use junit for full tests

This commit is contained in:
Nils Hanke 2023-03-17 16:28:11 +01:00 committed by Nils Hanke
parent 33cb3e8653
commit af91ce2a3c

View File

@ -48,8 +48,9 @@ runs:
name: "sonobuoy_logs_${{ inputs.cloudProvider}}.tar.gz" name: "sonobuoy_logs_${{ inputs.cloudProvider}}.tar.gz"
path: "*_sonobuoy_*.tar.gz" path: "*_sonobuoy_*.tar.gz"
# Only works on "sonobuoy full" tests (e2e plugin)
- name: Publish test results - name: Publish test results
if: (!env.ACT) if: (!env.ACT) && contains(inputs.sonobuoyTestSuiteCmd, '--plugin e2e')
uses: mikepenz/action-junit-report@4fa23552acda20a6a1d44f16224a90efbeb6c5f1 # v3.7.5 uses: mikepenz/action-junit-report@4fa23552acda20a6a1d44f16224a90efbeb6c5f1 # v3.7.5
with: with:
report_paths: "**/junit_01.xml" report_paths: "**/junit_01.xml"