Skip to content

Commit

Permalink
Merge pull request #925 from jturner314/docs-in-ci
Browse files Browse the repository at this point in the history
Add docs to CI
  • Loading branch information
bluss authored Mar 10, 2024
2 parents 1e0102d + a90146a commit 8d5eac1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,28 @@ jobs:
- run: cargo careful test -Zcareful-sanitizer --features="$FEATURES"
- run: cargo careful test -Zcareful-sanitizer -p ndarray-rand

docs:
if: ${{ github.event_name == 'merge_group' }}
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
name: docs/${{ matrix.rust }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo doc

conclusion:
needs:
- clippy
- tests
- cross_test
- cargo-careful
- docs
if: always()
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 8d5eac1

Please # to comment.