Skip to content

Commit 5eb64d4

Browse files
committed
ci: add cargo nextest
1 parent a977d8d commit 5eb64d4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/format-lint-test.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ jobs:
5555
sudo apt-get update
5656
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
5757
58+
- name: Install cargo-nextest
59+
uses: baptiste0928/cargo-install@v1
60+
with:
61+
crate: cargo-nextest --locked=true
62+
5863
- name: Format
5964
working-directory: ./unime/src-tauri
6065
run: cargo fmt -- --check
@@ -82,7 +87,7 @@ jobs:
8287

8388
- name: Test
8489
working-directory: ./unime/src-tauri
85-
run: cargo test
90+
run: cargo nextest run --retries 2
8691

8792
identity_wallet:
8893
runs-on: ubuntu-latest
@@ -102,6 +107,11 @@ jobs:
102107
run: |
103108
sudo apt-get update
104109
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
110+
111+
- name: Install cargo-nextest
112+
uses: baptiste0928/cargo-install@v1
113+
with:
114+
crate: cargo-nextest --locked=true
105115

106116
- name: Format
107117
working-directory: ./identity-wallet
@@ -113,4 +123,4 @@ jobs:
113123

114124
- name: Test
115125
working-directory: ./identity-wallet
116-
run: cargo test
126+
run: cargo nextest run --retries 2

0 commit comments

Comments
 (0)