From 9166fff340070070d51db0e2ec63b6d66fa5e890 Mon Sep 17 00:00:00 2001 From: Billy Lynch Date: Mon, 4 Mar 2024 08:40:51 -0500 Subject: [PATCH] Run e2e Go tests first. I suspect why the e2e tests are failing is because we're running this after the staging tests when the sigstore root has been changed to staging. Current the tests hardcode prod sigstore, which is likely what is causing the issues since we're trying to verify a prod signature with the staging root. TBD if this is the right thing to do (or if we should use staging instead), but this should hopefully fix us for the time being. --- .github/workflows/e2e.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index fc99330b..133ef7f2 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -53,6 +53,11 @@ jobs: go-version: "1.21" check-latest: true + - name: e2e unit tests + run: | + set -e + make e2e-test + - name: Install Gitsign run: | set -e @@ -148,8 +153,3 @@ jobs: - name: Debug log if: failure() run: cat "${GITSIGN_LOG}" - - - name: e2e unit tests - run: | - set -e - make e2e-test