Skip to content

Commit

Permalink
Merge pull request #21 from theseus-rs/code-coverage
Browse files Browse the repository at this point in the history
build: fix code coverage reporting
  • Loading branch information
brianheineman authored Aug 9, 2024
2 parents 4680388 + 8438054 commit 1b8c8bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
RUSTFLAGS: -Cinstrument-coverage
RUSTDOCFLAGS: -Cinstrument-coverage
run: |
cargo test --target ${{ matrix.target }} --workspace --all-features
cargo test --workspace --all-features
- name: Produce coverage info
if: ${{ startsWith(matrix.platform, 'linux-') }}
Expand All @@ -114,11 +114,11 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Install benchmarking tools
if: ${{ github.ref == 'refs/heads/main' && startsWith(matrix.platform, 'ubuntu-') }}
if: ${{ github.ref == 'refs/heads/main' && startsWith(matrix.platform, 'linux-') }}
uses: bencherdev/bencher@main

- name: Run benchmarks
if: ${{ github.ref == 'refs/heads/main' && startsWith(matrix.platform, 'ubuntu-') }}
if: ${{ github.ref == 'refs/heads/main' && startsWith(matrix.platform, 'linux-') }}
env:
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
BENCHER_PROJECT: theseus-rs-ristretto
Expand Down

0 comments on commit 1b8c8bb

Please sign in to comment.