Skip to content

refactor: simplify TextMatcherTrait and matcher method implementations #14

refactor: simplify TextMatcherTrait and matcher method implementations

refactor: simplify TextMatcherTrait and matcher method implementations #14

Workflow file for this run

name: Code Coverage
on:
push:
branches:
- master
paths:
- 'matcher_rs/src/**'
- '.github/workflows/coverage.yml'
- 'Cargo.toml'
pull_request:
paths:
- 'matcher_rs/src/**'
- '.github/workflows/coverage.yml'
- 'Cargo.toml'
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Install tarpaulin
uses: taiki-e/install-action@cargo-tarpaulin
- name: Generate code coverage
run: cargo tarpaulin -p matcher_rs --out xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
file: ./cobertura.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}