Skip to content

Commit

Permalink
chore: make ci run on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
crrow committed Jul 24, 2024
1 parent a699b44 commit 13d4ca9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,16 @@ jobs:
strategy:
fail-fast: false
matrix:
# TODO: add windows which does not support container
os: [ ubuntu-22.04 ]
os:
- ubuntu-22.04
- windows-latest
runs-on: ${{ matrix.os }}
container:
image: xd009642/tarpaulin:0.30.0
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@v4
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@main
- name: Install tarpaulin
run: cargo binstall -y cargo-tarpaulin
- name: Rust unit tests with coverage report
# https://github.com/xd009642/tarpaulin/issues/1092#issuecomment-1407739176
run: cargo tarpaulin --engine llvm --no-dead-code --no-fail-fast --all-features --workspace -o xml --output-dir ./cov-reports
Expand Down

0 comments on commit 13d4ca9

Please sign in to comment.