Skip to content

Commit

Permalink
Add action to run doctest. (#3)
Browse files Browse the repository at this point in the history
`cargo test --all-features` does not run doc-tests. For more information
see rust-lang/cargo#6669.
  • Loading branch information
Wasabi375 authored and dougEfresh committed Apr 26, 2024
1 parent 9b05a24 commit ab43a79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
# https://twitter.com/jonhoo/status/1571290371124260865
- name: cargo test --locked
run: cargo test --locked --all-features --all-targets
# https://github.com/rust-lang/cargo/issues/6669
- name: cargo test --doc
run: cargo test --locked --all-features --doc
minimal:
runs-on: ubuntu-latest
name: ubuntu / stable / minimal-versions
Expand Down

0 comments on commit ab43a79

Please sign in to comment.