Skip to content

Commit

Permalink
ci: add macos to coverage matrix (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl-cc authored Oct 3, 2023
1 parent 4f834d1 commit c405ec5
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,23 @@ jobs:
coverage:
name: Coverage
needs: build
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
# - windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Cargo tarpaulin
uses: taiki-e/install-action@v2
with:
tool: cargo-tarpaulin
- name: Generate code coverage
run: |
cargo +nightly tarpaulin --all-features --workspace --timeout 120 --out xml
cargo tarpaulin --all-features --workspace --timeout 120 --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit c405ec5

Please sign in to comment.