Skip to content

Commit 8d5eac1

Browse files
authored
Merge pull request #925 from jturner314/docs-in-ci
Add docs to CI
2 parents 1e0102d + a90146a commit 8d5eac1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,28 @@ jobs:
8585
- run: cargo careful test -Zcareful-sanitizer --features="$FEATURES"
8686
- run: cargo careful test -Zcareful-sanitizer -p ndarray-rand
8787

88+
docs:
89+
if: ${{ github.event_name == 'merge_group' }}
90+
runs-on: ubuntu-latest
91+
strategy:
92+
matrix:
93+
rust:
94+
- stable
95+
name: docs/${{ matrix.rust }}
96+
steps:
97+
- uses: actions/checkout@v4
98+
- uses: dtolnay/rust-toolchain@master
99+
with:
100+
toolchain: ${{ matrix.rust }}
101+
- run: cargo doc
102+
88103
conclusion:
89104
needs:
90105
- clippy
91106
- tests
92107
- cross_test
93108
- cargo-careful
109+
- docs
94110
if: always()
95111
runs-on: ubuntu-latest
96112
steps:

0 commit comments

Comments
 (0)