Skip to content

Commit d08fb12

Browse files
committed
tests: add unit/doc tests to CI
Signed-off-by: Shane Utt <[email protected]>
1 parent 6efa408 commit d08fb12

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/test.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
toolchain: stable
2828
override: true
2929

30+
- name: run unit tests
31+
uses: actions-rs/cargo@v1
32+
with:
33+
command: test
34+
args: -v -- --nocapture
35+
3036
- name: run integration tests
3137
uses: actions-rs/cargo@v1
3238
with:

Makefile

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,12 @@ generate:
33
./update.sh
44

55
.PHONY: test.all
6-
test.all:
6+
test.all: test.unit test.integration
7+
8+
.PHONY: test.unit
9+
test.unit:
10+
cargo test -vv -- --nocapture
11+
12+
.PHONY: test.integration
13+
test.integration:
714
cargo test -vv -- --nocapture --ignored

0 commit comments

Comments
 (0)