diff --git a/.github/actions/e2e_sonobuoy/action.yml b/.github/actions/e2e_sonobuoy/action.yml index 847e15ec60..ab3da56cbd 100644 --- a/.github/actions/e2e_sonobuoy/action.yml +++ b/.github/actions/e2e_sonobuoy/action.yml @@ -48,8 +48,14 @@ runs: name: "sonobuoy_logs_${{ inputs.cloudProvider}}.tar.gz" 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) + if: (!env.ACT) && contains(inputs.sonobuoyTestSuiteCmd, '--plugin e2e') uses: mikepenz/action-junit-report@4fa23552acda20a6a1d44f16224a90efbeb6c5f1 # v3.7.5 with: report_paths: "**/junit_01.xml" diff --git a/.github/workflows/e2e-test-daily.yml b/.github/workflows/e2e-test-daily.yml index b02781e790..835fe0d75e 100644 --- a/.github/workflows/e2e-test-daily.yml +++ b/.github/workflows/e2e-test-daily.yml @@ -48,6 +48,7 @@ jobs: runs-on: ubuntu-22.04 permissions: id-token: write + checks: write contents: read needs: [find-latest-image] steps: diff --git a/.github/workflows/e2e-test-manual.yml b/.github/workflows/e2e-test-manual.yml index b04c120fd7..4ee49882bc 100644 --- a/.github/workflows/e2e-test-manual.yml +++ b/.github/workflows/e2e-test-manual.yml @@ -187,6 +187,7 @@ jobs: runs-on: ${{ inputs.runner }} permissions: id-token: write + checks: write contents: read needs: [find-latest-image] if: always() && !cancelled() diff --git a/.github/workflows/e2e-test-weekly.yml b/.github/workflows/e2e-test-weekly.yml index c0435b6289..3a5d71ff22 100644 --- a/.github/workflows/e2e-test-weekly.yml +++ b/.github/workflows/e2e-test-weekly.yml @@ -96,6 +96,7 @@ jobs: runs-on: ubuntu-22.04 permissions: id-token: write + checks: write contents: read needs: [find-latest-image] steps: