Skip to content

Commit eeb03a1

Browse files
Wasabi375bluthej
authored andcommitted
Add action to run doctest. (#3)
`cargo test --all-features` does not run doc-tests. For more information see rust-lang/cargo#6669.
1 parent a8db648 commit eeb03a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
# https://twitter.com/jonhoo/status/1571290371124260865
2727
- name: cargo test --locked
2828
run: cargo test --locked --all-features --all-targets
29+
# https://github.com/rust-lang/cargo/issues/6669
30+
- name: cargo test --doc
31+
run: cargo test --locked --all-features --doc
2932
minimal:
3033
runs-on: ubuntu-latest
3134
name: ubuntu / stable / minimal-versions

0 commit comments

Comments
 (0)