Skip to content

✨ Add quickfix-spec-parser #7

✨ Add quickfix-spec-parser

✨ Add quickfix-spec-parser #7

Workflow file for this run

name: Code Coverage
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rust-lang/[email protected]
with:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/[email protected]
with:
tool: cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --workspace --exclude quickfix-ffi --ignore-filename-regex quickfix-ffi --all-features --codecov --output-path codecov.json
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: codecov.json
fail_ci_if_error: true