add doctests to CI
cargo devel CI / cargo CI (push) Failing after 1m23s Details

This commit is contained in:
Christoph J. Scherr 2024-05-12 17:26:06 +02:00
parent c918fbf196
commit 7f45020511
2 changed files with 2 additions and 8 deletions

View File

@ -36,10 +36,8 @@ jobs:
run: cargo clippy --fix --all-features --all-targets --workspace
- name: cargo fmt
run: cargo fmt --all
- name: install python
run: apt update && apt install libpython3-dev -y
- name: cargo test
run: cargo test --all-features --all-targets --workspace
run: cargo test --all-features --all-targets --workspace && cargo test --all-features --workspace --doc
- name: commit back to repository
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with:

View File

@ -37,12 +37,8 @@ jobs:
run: cargo clippy --fix --all-features --all-targets --workspace
- name: cargo fmt
run: cargo fmt --all
- name: install python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: cargo test
run: cargo test --all-features --all-targets --workspace
run: cargo test --all-features --all-targets --workspace && cargo test --all-features --workspace --doc
- name: commit back to repository
uses: stefanzweifel/git-auto-commit-action@v5
with: