Add action to run doctest. (#3)
`cargo test --all-features` does not run doc-tests. For more information see https://github.com/rust-lang/cargo/issues/6669.
This commit is contained in:
parent
0d12c82bf4
commit
80a89195f2
1 changed files with 3 additions and 0 deletions
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
|
@ -26,6 +26,9 @@ jobs:
|
||||||
# https://twitter.com/jonhoo/status/1571290371124260865
|
# https://twitter.com/jonhoo/status/1571290371124260865
|
||||||
- name: cargo test --locked
|
- name: cargo test --locked
|
||||||
run: cargo test --locked --all-features --all-targets
|
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:
|
minimal:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: ubuntu / stable / minimal-versions
|
name: ubuntu / stable / minimal-versions
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue