Skip to content

Commit

Permalink
Run doctests with --all-features
Browse files Browse the repository at this point in the history
  • Loading branch information
greyblake committed Aug 25, 2024
1 parent 4a37a13 commit c767124
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ jobs:
- name: Run doctests for nutype
run: |
cd nutype
cargo test --doc
cargo test --doc --all-features
- name: Run doctests for nutype_macros
run: |
cd nutype_macros
cargo test --doc
cargo test --doc --all-features
rustfmt:
name: Rustfmt
Expand Down
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ test-ui:
cargo test --features ui

test-doc:
cd nutype && cargo test --doc
cd nutype_macros && cargo test --doc
cd nutype && cargo test --doc --all-features
cd nutype_macros && cargo test --doc --all-features

fmt:
cargo fmt
Expand Down

0 comments on commit c767124

Please sign in to comment.