Skip to content

Commit

Permalink
fix: run e2e test script as part of workflows (#397)
Browse files Browse the repository at this point in the history
* fix: run e2e test script as part of workflows
---------
Signed-off-by: Mikhail Swift <mikhail@testifysec.com>
Co-authored-by: John Kjell <john@testifysec.com>
  • Loading branch information
mikhailswift authored Mar 6, 2024
1 parent e54d8be commit 09f8cbb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ jobs:
artifact-upload-name: profile.cov
artifact-upload-path: profile.cov

e2e-test:
needs: [fmt]
uses: ./.github/workflows/witness.yml
permissions:
id-token: write # This is required for requesting the JWT
contents: read
with:
pull_request: ${{ github.event_name == 'pull_request' }}
step: e2e-test
attestations: "git github environment"
command: cd test/ && ./test.sh
artifact-upload-name: profile.cov
artifact-upload-path: profile.cov

release:
permissions:
id-token: write
Expand Down

0 comments on commit 09f8cbb

Please sign in to comment.