Skip to content

Commit

Permalink
Merge pull request #934 from hove-io/tests
Browse files Browse the repository at this point in the history
[ci] cargo test also builds doc tests
  • Loading branch information
datanel authored Dec 18, 2023
2 parents cc6e2a1 + fe47772 commit 9a58dc7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,9 @@ test: ## Launch all tests
# Run all the tests of `transit_model` in the entire repository.

# First activating all features (including `xmllint`)
cargo test --workspace --all-features --all-targets # `--all-targets` but no doctests
cargo test --workspace --all-features --doc # doctests only
cargo test --workspace --all-features
# Then without features
cargo test --workspace --all-targets # `--all-targets` but no doctests
cargo test --workspace --doc # doctests only
cargo test --workspace

help: ## Print this help message
@grep -E '^[a-zA-Z_-]+:.*## .*$$' $(CURDIR)/$(firstword $(MAKEFILE_LIST)) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
Expand Down

0 comments on commit 9a58dc7

Please sign in to comment.