File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 6363 uses : taiki-e/install-action@cargo-llvm-cov
6464 - name : Run tests and generate coverage report
6565 run : cargo llvm-cov test --all-features --workspace --lcov --output-path lcov.info
66- - name : Test documentation code snippets
67- run : cargo test --doc --all-features --workspace
6866 - name : Upload coverage to Coveralls
6967 uses :
coverallsapp/[email protected] 7068 with :
7169 file : ./lcov.info
70+
71+ test-docs :
72+ name : cargo test docs
73+ runs-on : ubuntu-latest
74+ container :
75+ image : rust:1.74-bookworm
76+ steps :
77+ - uses : actions/checkout@v3
78+ - uses : actions/cache@v3
79+ with :
80+ path : |
81+ ~/.cargo/bin/
82+ ~/.cargo/registry/index/
83+ ~/.cargo/registry/cache/
84+ ~/.cargo/git/db/
85+ target/
86+ key : ${{ runner.os }}-cargo-test-docs
87+ - name : Test documentation code snippets
88+ run : cargo test --doc --all-features --workspace
You can’t perform that action at this time.
0 commit comments