Skip to content

Commit 9ec5a93

Browse files
committed
[ci] migrate to cargo nextest
Dogfood nextest within this repo.
1 parent f8579b5 commit 9ec5a93

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,22 @@ jobs:
8585
with:
8686
command: build
8787
args: --all-targets --all-features
88-
- name: Test
88+
- name: Doctests
8989
uses: actions-rs/cargo@v1
9090
with:
9191
command: test
92-
args: --all-features
92+
args: --doc --all-features
93+
- name: Test with locally built nextest
94+
uses: actions-rs/cargo@v1
95+
with:
96+
command: run
97+
args: --package nextest -- nextest run --all-features
98+
- name: Install nextest from crates.io
99+
uses: baptiste0928/cargo-install@v1
100+
with:
101+
crate: nextest
102+
- name: Test with nextest from crates.io
103+
uses: actions-rs/cargo@v1
104+
with:
105+
command: nextest
106+
args: run --all-features

0 commit comments

Comments
 (0)