Skip to content

Commit

Permalink
fix CI tests to include all targets and docs (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik authored Nov 19, 2022
1 parent b84d6d2 commit 0a5e449
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 46 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ jobs:
if: matrix.target == 'x86_64-unknown-linux-gnu'
shell: bash
run: |
cargo test --all-targets
cargo test --all-targets --all-features
cargo test --doc
rm -rf target
Expand Down
76 changes: 32 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ bench: start-db
# Run all tests using a test database
test: test-unit test-int

# Run Rust unit tests (cargo test)
# Run Rust unit and doc tests (cargo test)
test-unit: start-db
cargo test
cargo test --all-targets
cargo test --all-targets --all-features
cargo test --doc

# Run integration tests
test-int: start-db clean-test
Expand Down

0 comments on commit 0a5e449

Please sign in to comment.