Skip to content

Commit

Permalink
Merge pull request #34 from wiktor-k/wiktor-k-patch-1
Browse files Browse the repository at this point in the history
Add timeout to integration tests
  • Loading branch information
wiktor-k authored Apr 5, 2024
2 parents d0b92fd + e9d33d8 commit d605c3b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:

integration:
name: Integration tests
# If starting the example fails at runtime the integration test will
# be stuck. Try to limit the damage. The value "10" selected arbitrarily.
timeout-minutes: 10
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
Expand All @@ -73,6 +76,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
# If the example doesn't compile the integration test will
# be stuck. Check for compilation issues earlier to abort the job
- name: Check if the example compiles
run: cargo check --example key_storage
- name: Run integration tests
run: ./tests/sign-and-verify.sh
if: ${{ ! matrix.windows }}
Expand Down

0 comments on commit d605c3b

Please sign in to comment.