Skip to content

Commit 305f609

Browse files
authored
Run unit-tests with nextest
1 parent a0cc355 commit 305f609

File tree

1 file changed

+34
-35
lines changed

1 file changed

+34
-35
lines changed

justfile

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -151,41 +151,40 @@ doc $RUSTDOCFLAGS="-D warnings":
151151

152152
# run all unit tests
153153
unit-tests:
154-
cargo test --all
155-
cargo test -p gix-testtools
156-
cargo test -p gix-testtools --features xz
157-
cargo test -p gix-archive --no-default-features
158-
cargo test -p gix-archive --features tar
159-
cargo test -p gix-archive --features tar_gz
160-
cargo test -p gix-archive --features zip
161-
cargo test -p gix-status-tests --features "gix-features-parallel"
162-
cargo test -p gix-worktree-state-tests --features "gix-features-parallel"
163-
cargo test -p gix-worktree-tests --features "gix-features-parallel"
164-
cd gix-object; \
165-
set -ex; \
166-
cargo test; \
167-
cargo test --features verbose-object-parsing-errors
168-
cargo test -p gix-tempfile --features signals
169-
cargo test -p gix-features --all-features
170-
cargo test -p gix-ref-tests --all-features
171-
cargo test -p gix-odb --all-features
172-
cargo test -p gix-odb-tests --features gix-features-parallel
173-
cargo test -p gix-pack --all-features
174-
cargo test -p gix-pack-tests --features all-features
175-
cargo test -p gix-pack-tests --features "gix-features-parallel"
176-
cargo test -p gix-index-tests --features "gix-features-parallel"
177-
cargo test -p gix-packetline --features blocking-io,maybe-async/is_sync --test blocking-packetline
178-
cargo test -p gix-packetline --features "async-io" --test async-packetline
179-
cargo test -p gix-transport --features http-client-curl,maybe-async/is_sync
180-
cargo test -p gix-transport --features http-client-reqwest,maybe-async/is_sync
181-
cargo test -p gix-transport --features async-client
182-
cargo test -p gix-protocol --features blocking-client
183-
cargo test -p gix-protocol --features async-client
184-
cargo test -p gix --no-default-features
185-
cargo test -p gix --no-default-features --features basic,extras,comfort
186-
cargo test -p gix --features async-network-client
187-
cargo test -p gix --features blocking-network-client
188-
cargo test -p gitoxide-core --lib
154+
cargo nextest run
155+
cargo test --doc
156+
cargo nextest run -p gix-testtools
157+
cargo nextest run -p gix-testtools --features xz
158+
cargo nextest run -p gix-archive --no-default-features
159+
cargo nextest run -p gix-archive --features tar
160+
cargo nextest run -p gix-archive --features tar_gz
161+
cargo nextest run -p gix-archive --features zip
162+
cargo nextest run -p gix-status-tests --features "gix-features-parallel"
163+
cargo nextest run -p gix-worktree-state-tests --features "gix-features-parallel"
164+
cargo nextest run -p gix-worktree-tests --features "gix-features-parallel"
165+
cargo nextest run -p gix-object
166+
cargo nextest run -p gix-object --features verbose-object-parsing-errors
167+
cargo nextest run -p gix-tempfile --features signals
168+
cargo nextest run -p gix-features --all-features
169+
cargo nextest run -p gix-ref-tests --all-features
170+
cargo nextest run -p gix-odb --all-features
171+
cargo nextest run -p gix-odb-tests --features gix-features-parallel
172+
cargo nextest run -p gix-pack --all-features
173+
cargo nextest run -p gix-pack-tests --features all-features
174+
cargo nextest run -p gix-pack-tests --features "gix-features-parallel"
175+
cargo nextest run -p gix-index-tests --features "gix-features-parallel"
176+
cargo nextest run -p gix-packetline --features blocking-io,maybe-async/is_sync --test blocking-packetline
177+
cargo nextest run -p gix-packetline --features "async-io" --test async-packetline
178+
cargo nextest run -p gix-transport --features http-client-curl,maybe-async/is_sync
179+
cargo nextest run -p gix-transport --features http-client-reqwest,maybe-async/is_sync
180+
cargo nextest run -p gix-transport --features async-client
181+
cargo nextest run -p gix-protocol --features blocking-client
182+
cargo nextest run -p gix-protocol --features async-client
183+
cargo nextest run -p gix --no-default-features
184+
cargo nextest run -p gix --no-default-features --features basic,extras,comfort
185+
cargo nextest run -p gix --features async-network-client
186+
cargo nextest run -p gix --features blocking-network-client
187+
cargo nextest run -p gitoxide-core --lib
189188

190189
# These tests aren't run by default as they are flaky (even locally)
191190
unit-tests-flaky:

0 commit comments

Comments
 (0)