Skip to content

Commit

Permalink
Introduce LOOM_MAX_BRANCHES=100000 again, since tests were flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Jun 10, 2024
1 parent c393338 commit 48dcf36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ jobs:
uses: taiki-e/install-action@cargo-hack

- name: Build
shell: bash
run: cargo build --locked

# Run `cargo test` with all combinations of features. Including loom correctness testing
- name: Test
run: cargo hack --feature-powerset --exclude-all-features --optional-deps loom test
shell: bash
run: LOOM_MAX_BRANCHES=100000 cargo hack --feature-powerset --exclude-all-features --optional-deps loom test

# Run `cargo test` but with artificial delay injected into some code paths. This helps
# running through some hard-to-time code paths. loom testing is not included since it is not
Expand Down

0 comments on commit 48dcf36

Please sign in to comment.