Skip to content

Commit 6059cae

Browse files
committed
experiment: use nextest for unit tests
1 parent 3e66cd7 commit 6059cae

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.config/nextest.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[profile.default]
2+
retries = { backoff = "exponential", count = 3, delay = "5s", max-delay = "120s" }

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
- uses: actions-rs/toolchain@v1
4646
with:
4747
override: true
48+
- uses: taiki-e/install-action@nextest
4849
- name: cargo fetch
4950
uses: actions-rs/cargo@v1
5051
with:
@@ -53,12 +54,12 @@ jobs:
5354
uses: actions-rs/cargo@v1
5455
with:
5556
command: build
56-
args: --verbose --release --tests
57+
args: --verbose --tests
5758
- name: Run tests
5859
uses: actions-rs/cargo@v1
5960
with:
60-
command: test
61-
args: --verbose --release
61+
command: nextest
62+
args: run --verbose
6263

6364
test_coverage:
6465
name: Code coverage in tests

0 commit comments

Comments
 (0)