Merge pull request #533 from mgeisler/release-0.16.1 #245
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: coverage | |
on: | |
push: | |
branches: | |
- master | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
coverage: | |
name: Generate coverage | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
features: | |
- no-default-features | |
- all-features | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run cargo-tarpaulin | |
uses: actions-rs/tarpaulin@v0.1 | |
with: | |
args: '--${{ matrix.features }}' | |
- name: Upload to codecov.io | |
uses: codecov/codecov-action@v1 |