ci add cargo test of docs
cargo devel CI / cargo CI (push) Failing after 1m27s Details

This commit is contained in:
Christoph J. Scherr 2024-05-12 17:27:48 +02:00
parent bfc469d6e0
commit 0434d40b88
2 changed files with 6 additions and 6 deletions

View File

@ -31,13 +31,13 @@ jobs:
echo 'index = "https://git.cscherr.de/PlexSheep/_cargo-index.git"' >> ~/.cargo/config.toml echo 'index = "https://git.cscherr.de/PlexSheep/_cargo-index.git"' >> ~/.cargo/config.toml
cat ~/.cargo/config.toml cat ~/.cargo/config.toml
- name: cargo clippy check - name: cargo clippy check
run: cargo clippy --all-features --all-targets run: cargo clippy --all-features --all-targets --workspace
- name: cargo clippy fix - name: cargo clippy fix
run: cargo clippy --fix --all-features --all-targets run: cargo clippy --fix --all-features --all-targets --workspace
- name: cargo fmt - name: cargo fmt
run: cargo fmt --all run: cargo fmt --all
- name: cargo test - name: cargo test
run: cargo test --all-features --all-targets run: cargo test --all-features --all-targets --workspace && cargo test --all-features --workspace --doc
- name: commit back to repository - name: commit back to repository
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5 uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with: with:

View File

@ -32,13 +32,13 @@ jobs:
echo 'index = "https://git.cscherr.de/PlexSheep/_cargo-index.git"' >> ~/.cargo/config.toml echo 'index = "https://git.cscherr.de/PlexSheep/_cargo-index.git"' >> ~/.cargo/config.toml
cat ~/.cargo/config.toml cat ~/.cargo/config.toml
- name: cargo clippy check - name: cargo clippy check
run: cargo clippy --all-features --all-targets run: cargo clippy --all-features --all-targets --workspace
- name: cargo clippy fix - name: cargo clippy fix
run: cargo clippy --fix --all-features --all-targets run: cargo clippy --fix --all-features --all-targets --workspace
- name: cargo fmt - name: cargo fmt
run: cargo fmt --all run: cargo fmt --all
- name: cargo test - name: cargo test
run: cargo test --all-features --all-targets run: cargo test --all-features --all-targets --workspace && cargo test --all-features --workspace --doc
- name: commit back to repository - name: commit back to repository
uses: stefanzweifel/git-auto-commit-action@v5 uses: stefanzweifel/git-auto-commit-action@v5
with: with: