Skip to content

Commit

Permalink
tests: add unit/doc tests to CI
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Utt <[email protected]>
  • Loading branch information
shaneutt committed Oct 18, 2024
1 parent 6efa408 commit d08fb12
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
toolchain: stable
override: true

- name: run unit tests
uses: actions-rs/cargo@v1
with:
command: test
args: -v -- --nocapture

- name: run integration tests
uses: actions-rs/cargo@v1
with:
Expand Down
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@ generate:
./update.sh

.PHONY: test.all
test.all:
test.all: test.unit test.integration

.PHONY: test.unit
test.unit:
cargo test -vv -- --nocapture

.PHONY: test.integration
test.integration:
cargo test -vv -- --nocapture --ignored

0 comments on commit d08fb12

Please sign in to comment.