Skip to content

Commit

Permalink
e2e: only use junit for full tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirusu committed Mar 17, 2023
1 parent 638899d commit ebd5647
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/e2e_sonobuoy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ runs:
name: "sonobuoy_logs_${{ inputs.cloudProvider}}.tar.gz"
path: "*_sonobuoy_*.tar.gz"

# Only works on "sonobuoy full" tests (e2e plugin)
- name: Publish test results
if: (!env.ACT)
if: (!env.ACT) && contains(inputs.sonobuoyTestSuiteCmd, '--plugin e2e')
uses: mikepenz/action-junit-report@4fa23552acda20a6a1d44f16224a90efbeb6c5f1 # v3.7.5
with:
report_paths: "**/junit_01.xml"
Expand Down

0 comments on commit ebd5647

Please # to comment.