Skip to content

Commit 90b0bfb

Browse files
committed
ci: use release profile for loom tests
In both CONTRIBUTING.md, and in loom's own documentation, it is recommended to run loom's tests with the --release profile, as they execute many permutations of the same test and therefore compilation time benefits are worthwhile. In tokio-rs#7197 we see this with some individual tests taking over 60s to complete.
1 parent 9565062 commit 90b0bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ jobs:
842842
toolchain: ${{ env.rust_stable }}
843843
- uses: Swatinem/rust-cache@v2
844844
- name: build --cfg loom
845-
run: cargo test --no-run --lib --features full
845+
run: cargo test --no-run --lib --release --features full
846846
working-directory: tokio
847847
env:
848848
RUSTFLAGS: --cfg loom --cfg tokio_unstable -Dwarnings

0 commit comments

Comments
 (0)