Skip to content

Commit e306a1e

Browse files
committed
chore: introduce rustdoc coverage for PRs too
Signed-off-by: R. Tyler Croy <[email protected]>
1 parent 3cbd326 commit e306a1e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/docs.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ env:
1919
BUILD_ARGS: ${{ (github.event_name == 'repository_dispatch' || github.event_name == 'workflow_dispatch') && 'install MATURIN_EXTRA_ARGS="--manylinux off"' || 'develop' }}
2020

2121
jobs:
22+
print_doc_coverage:
23+
name: Print documentation coverage
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: actions-rs/toolchain@v1
28+
with:
29+
toolchain: nightly
30+
- id: coverage
31+
uses: bewee/rustdoc-coverage-action@v1
32+
- run: echo ${{ steps.coverage.outputs.documented }}
2233
markdown-link-check:
2334
runs-on: ubuntu-latest
2435
steps:

0 commit comments

Comments
 (0)