Skip to content

Commit

Permalink
Add doctest CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
fkrause98 committed Sep 11, 2023
1 parent a69fc91 commit eabbac8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,27 @@ jobs:
- name: Run clippy
run: make clippy

doctest:
name: doctest
name: Test docs
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3

- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy

- name: Run doc tests
run: cargo test --doc

test:
name: Test
runs-on: ubuntu-latest
Expand Down

0 comments on commit eabbac8

Please sign in to comment.