Skip to content

Commit

Permalink
chore(actions): move coverage job into ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Mar 25, 2024
1 parent 43a2458 commit bab611c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 30 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,24 @@ jobs:
uses: Swatinem/[email protected]
- name: Test with Miri
run: cargo miri nextest run
coverage:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v2
- name: Install latest nextest release
uses: taiki-e/install-action@nextest
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Collect coverage data
run: cargo llvm-cov nextest --codecov --output-path codecov.json
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: codecov.json
slug: jbr/stopper
30 changes: 0 additions & 30 deletions .github/workflows/coverage.yml

This file was deleted.

0 comments on commit bab611c

Please sign in to comment.