Skip to content

Commit f81362d

Browse files
committed
Add cargo test to GitHub Actions
1 parent a27df96 commit f81362d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci_action.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ jobs:
6767
command: clippy
6868
args: -- -D warnings
6969

70+
- name: Run cargo test
71+
uses: actions-rs/cargo@v1
72+
with:
73+
command: test
74+
args: -- --nocapture
75+
7076
- name: Run cargo build
7177
uses: actions-rs/cargo@v1
7278
with:
@@ -138,6 +144,12 @@ jobs:
138144
command: clippy
139145
args: -- -D warnings
140146

147+
- name: Run cargo test
148+
uses: actions-rs/cargo@v1
149+
with:
150+
command: test
151+
args: -- --nocapture
152+
141153
- name: Run cargo build
142154
uses: actions-rs/cargo@v1
143155
with:
@@ -210,6 +222,12 @@ jobs:
210222
command: clippy
211223
args: -- -D warnings
212224

225+
- name: Run cargo test
226+
uses: actions-rs/cargo@v1
227+
with:
228+
command: test
229+
args: -- --nocapture
230+
213231
- name: Run cargo build
214232
uses: actions-rs/cargo@v1
215233
with:

0 commit comments

Comments
 (0)