Skip to content

Commit

Permalink
ci(code-quality): update tarpaulin, run doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
decahedron1 committed Apr 14, 2024
1 parent 0efd082 commit 1154757
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@nightly
- name: Get Rust version
id: rust-version
run: echo "::set-output name=version::$(cargo --version | cut -d ' ' -f 2)"
Expand All @@ -65,15 +65,15 @@ jobs:
id: tarpaulin-cache
with:
path: ~/.cargo/bin/cargo-tarpaulin
key: ${{ runner.os }}-cargo-${{ steps.rustc-version.outputs.version }}
key: ${{ runner.os }}-cargo-${{ steps.rust-version.outputs.version }}-0.28.0
- name: Install tarpaulin
if: steps.tarpaulin-cache.outputs.cache-hit != 'true'
run: cargo install cargo-tarpaulin
run: cargo install cargo-tarpaulin --version 0.28.0
- name: Generate code coverage
run: |
cargo tarpaulin -p ort --features fetch-models --verbose --timeout 120 --out xml
cargo tarpaulin -p ort --features fetch-models --verbose --timeout 120 --out xml --engine llvm --doc --lib
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false

0 comments on commit 1154757

Please sign in to comment.