release: v0.14.3 — engine simplification + generic filter iterators #125
This file contains hidden or 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: Code Coverage | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'matcher_rs/src/**' | |
| - 'matcher_rs/tests/**' | |
| - 'matcher_rs/process_map/**' | |
| - 'matcher_rs/Cargo.toml' | |
| - '.github/workflows/coverage.yml' | |
| - 'Cargo.toml' | |
| pull_request: | |
| paths: | |
| - 'matcher_rs/src/**' | |
| - 'matcher_rs/tests/**' | |
| - 'matcher_rs/process_map/**' | |
| - 'matcher_rs/Cargo.toml' | |
| - '.github/workflows/coverage.yml' | |
| - 'Cargo.toml' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| env: | |
| RUSTFLAGS: -Z threads=0 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: nightly | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-on-failure: true | |
| - name: Install tarpaulin | |
| uses: taiki-e/install-action@cargo-tarpaulin | |
| - name: Generate code coverage | |
| run: > | |
| cargo tarpaulin -p matcher_rs --fail-under 75 --out xml | |
| --exclude-files 'matcher_rs/benches/*' | |
| --exclude-files 'matcher_rs/examples/*' | |
| --exclude-files 'matcher_py/*' | |
| --exclude-files 'matcher_java/*' | |
| --exclude-files 'matcher_c/*' | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| file: ./cobertura.xml | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |