@@ -13,11 +13,10 @@ alias nt := nextest
13
13
test : clippy check doc unit-tests journey-tests-pure journey-tests-small journey-tests-async journey-tests
14
14
15
15
# run all tests, without clippy, including journey tests, try building docs (and clear target on CI)
16
- ci-test : check doc clear-target unit-tests ci-journey-tests
16
+ ci-test : check doc unit-tests ci-journey-tests
17
17
18
18
# run all journey tests, but assure these are running after `cargo clean` (and workaround a just-issue of deduplicating targets)
19
- ci-journey-tests :
20
- just clear-target journey-tests-pure journey-tests-small journey-tests-async journey-tests
19
+ ci-journey-tests : journey-tests-pure journey-tests-small journey-tests-async journey-tests
21
20
22
21
clear-target :
23
22
cargo clean
@@ -152,41 +151,42 @@ doc $RUSTDOCFLAGS="-D warnings":
152
151
153
152
# run all unit tests
154
153
unit-tests :
155
- cargo test --all
156
- cargo test -p gix-testtools
157
- cargo test -p gix-testtools --features xz
158
- cargo test -p gix-archive --no-default-features
159
- cargo test -p gix-archive --features tar
160
- cargo test -p gix-archive --features tar_gz
161
- cargo test -p gix-archive --features zip
162
- cargo test -p gix-status-tests --features " gix-features-parallel"
163
- cargo test -p gix-worktree-state-tests --features " gix-features-parallel"
164
- cargo test -p gix-worktree-tests --features " gix-features-parallel"
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
165
cd gix-object; \
166
- set -ex; \
167
- cargo test ; \
168
- cargo test --features verbose-object-parsing-errors
169
- cargo test -p gix-tempfile --features signals
170
- cargo test -p gix-features --all-features
171
- cargo test -p gix-ref-tests --all-features
172
- cargo test -p gix-odb --all-features
173
- cargo test -p gix-odb-tests --features gix-features-parallel
174
- cargo test -p gix-pack --all-features
175
- cargo test -p gix-pack-tests --features all-features
176
- cargo test -p gix-pack-tests --features " gix-features-parallel"
177
- cargo test -p gix-index-tests --features " gix-features-parallel"
178
- cargo test -p gix-packetline --features blocking-io,maybe-async/ is_sync --test blocking-packetline
179
- cargo test -p gix-packetline --features " async-io" --test async-packetline
180
- cargo test -p gix-transport --features http-client-curl,maybe-async/ is_sync
181
- cargo test -p gix-transport --features http-client-reqwest,maybe-async/ is_sync
182
- cargo test -p gix-transport --features async-client
183
- cargo test -p gix-protocol --features blocking-client
184
- cargo test -p gix-protocol --features async-client
185
- cargo test -p gix --no-default-features
186
- cargo test -p gix --no-default-features --features basic,extras,comfort
187
- cargo test -p gix --features async-network-client
188
- cargo test -p gix --features blocking-network-client
189
- cargo test -p gitoxide-core --lib
166
+ set -ex; \
167
+ cargo nextest run ; \
168
+ cargo nextest run --features verbose-object-parsing-errors
169
+ cargo nextest run -p gix-tempfile --features signals
170
+ cargo nextest run -p gix-features --all-features
171
+ cargo nextest run -p gix-ref-tests --all-features
172
+ cargo nextest run -p gix-odb --all-features
173
+ cargo nextest run -p gix-odb-tests --features gix-features-parallel
174
+ cargo nextest run -p gix-pack --all-features
175
+ cargo nextest run -p gix-pack-tests --features all-features
176
+ cargo nextest run -p gix-pack-tests --features " gix-features-parallel"
177
+ cargo nextest run -p gix-index-tests --features " gix-features-parallel"
178
+ cargo nextest run -p gix-packetline --features blocking-io,maybe-async/ is_sync --test blocking-packetline
179
+ cargo nextest run -p gix-packetline --features " async-io" --test async-packetline
180
+ cargo nextest run -p gix-transport --features http-client-curl,maybe-async/ is_sync
181
+ cargo nextest run -p gix-transport --features http-client-reqwest,maybe-async/ is_sync
182
+ cargo nextest run -p gix-transport --features async-client
183
+ cargo nextest run -p gix-protocol --features blocking-client
184
+ cargo nextest run -p gix-protocol --features async-client
185
+ cargo nextest run -p gix --no-default-features
186
+ cargo nextest run -p gix --no-default-features --features basic,extras,comfort
187
+ cargo nextest run -p gix --features async-network-client
188
+ cargo nextest run -p gix --features blocking-network-client
189
+ cargo nextest run -p gitoxide-core --lib
190
190
191
191
# These tests aren't run by default as they are flaky (even locally)
192
192
unit-tests-flaky :
0 commit comments