Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ jobs:
- run: git config user.name "github-runner" && git config user.email "<>"
- run: git rebase --exec 'cargo test ui_ --locked --all-targets' --root
env:
# -Zthreads=1 is needed to workaround Rust compiler non-determinism.
RUSTFLAGS: >
-Zthreads=1
-Dwarnings
--cfg UI_TESTS
nightly:
Expand Down
5 changes: 3 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
check:
cargo check --all-targets

# -Zthreads=1 is needed to workaround Rust compiler non-determinism.
ui-tests:
RUSTFLAGS="--cfg UI_TESTS" cargo test
RUSTFLAGS="-Zthreads=1 --cfg UI_TESTS" cargo test

bless-ui-tests:
TRYBUILD=overwrite MACROTEST=overwrite RUSTFLAGS="--cfg UI_TESTS" cargo test
TRYBUILD=overwrite MACROTEST=overwrite RUSTFLAGS="-Zthreads=1 --cfg UI_TESTS" cargo test
Loading