From ebd5647237455f918206fb55ebcfd2e91ca21e01 Mon Sep 17 00:00:00 2001 From: Nils Hanke Date: Fri, 17 Mar 2023 16:28:11 +0100 Subject: [PATCH] e2e: only use junit for full tests --- .github/actions/e2e_sonobuoy/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/e2e_sonobuoy/action.yml b/.github/actions/e2e_sonobuoy/action.yml index 847e15ec609..0c1c1c675dd 100644 --- a/.github/actions/e2e_sonobuoy/action.yml +++ b/.github/actions/e2e_sonobuoy/action.yml @@ -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"