Skip to content

Commit f1e43ec

Browse files
committed
chore(ci): fix nextest exit code 4 and silence unexpected_cfg warnings
1 parent 6dbbcda commit f1e43ec

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
working-directory: ${{ matrix.project }}
9393
continue-on-error: true
9494
- name: Run Rust tests
95-
run: cargo nextest run
95+
run: cargo nextest run --no-tests=pass
9696
working-directory: ${{ matrix.project }}
9797
env:
9898
RUSTFLAGS: --cfg advent_of_code_ci

aoc-rust-common/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ insta = { version = "1.47.2", features = ["yaml"] }
1515
[[bench]]
1616
name = "main"
1717
harness = false
18+
19+
[lints.rust]
20+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(advent_of_code_ci)'] }

0 commit comments

Comments
 (0)