From cdcc549d6855e00cb38bfb750bd1e656c043a697 Mon Sep 17 00:00:00 2001 From: Nils Hanke Date: Mon, 20 Mar 2023 13:32:58 +0100 Subject: [PATCH] e2e: extract sonobuoy results to access junit results --- .github/actions/e2e_sonobuoy/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/e2e_sonobuoy/action.yml b/.github/actions/e2e_sonobuoy/action.yml index 0c1c1c675d..ab3da56cbd 100644 --- a/.github/actions/e2e_sonobuoy/action.yml +++ b/.github/actions/e2e_sonobuoy/action.yml @@ -49,6 +49,11 @@ runs: path: "*_sonobuoy_*.tar.gz" # Only works on "sonobuoy full" tests (e2e plugin) + - name: Extract test results + if: (!env.ACT) && contains(inputs.sonobuoyTestSuiteCmd, '--plugin e2e') + shell: bash + run: tar -xf *_sonobuoy_*.tar.gz + - name: Publish test results if: (!env.ACT) && contains(inputs.sonobuoyTestSuiteCmd, '--plugin e2e') uses: mikepenz/action-junit-report@4fa23552acda20a6a1d44f16224a90efbeb6c5f1 # v3.7.5