File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 42
42
with :
43
43
tool : cargo-nextest
44
44
- name : Running tests
45
- run : cargo nextest run --locked --all --no-fail-fast --exclude=fil_builtin_actors_bundle
45
+ run : make test
46
46
47
47
build :
48
48
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ toolchain:
9
9
rustup show active-toolchain || rustup toolchain install
10
10
.PHONY : toolchain
11
11
12
+ install-nextest :
13
+ @command -v cargo-nextest > /dev/null 2>&1 || cargo install cargo-nextest --locked
14
+ .PHONY : install-nextest
15
+
12
16
# Run cargo fmt
13
17
rustfmt : toolchain
14
18
cargo fmt --all --check
@@ -21,9 +25,12 @@ check: toolchain
21
25
cargo clippy --all --all-targets -- -D warnings
22
26
cargo clippy --all -- -D warnings
23
27
28
+ # NOTE: nextest doesn't run doctests https://github.com/nextest-rs/nextest/issues/16,
29
+ # enable once doc tests are added: `cargo test --doc`
30
+
24
31
# Run cargo test
25
- test : toolchain
26
- cargo test --workspace
32
+ test : toolchain install-nextest
33
+ cargo nextest run --workspace --no-fail-fast
27
34
28
35
docker-builder :
29
36
$(DOCKER ) buildx build $(DOCKER_PLATFORM ) . -t $(DOCKER_IMAGE_NAME ) ; \
You can’t perform that action at this time.
0 commit comments