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 Mar 20, 2023
1 parent 0d12c82 commit 80a8919
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 80a8919

Please sign in to comment.