Skip to content

Commit

Permalink
limit and report test times
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Dec 30, 2024
1 parent 285ea71 commit 9a16117
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,14 @@ jobs:
if: failure()
run: docker compose logs ${{ matrix.database }}
- name: Run tests against ${{ matrix.database }}
timeout-minutes: 2
run: cargo test
timeout-minutes: 5
run: cargo +nightly test -- -Z unstable-options --ensure-time
env:
DATABASE_URL: ${{ matrix.database }}://root:[email protected]/sqlpage
RUST_BACKTRACE: 1
RUST_LOG: sqlpage=debug
RUST_TEST_TIME_UNIT: 100,1000
RUST_TEST_TIME_INTEGRATION: 1000,10000

windows_test:
runs-on: windows-latest
Expand Down

0 comments on commit 9a16117

Please sign in to comment.