Fastq input hotfix #53
Workflow file for this run
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: Rust codecov | |
on: | |
push: | |
branches: [ '*' ] # Run on all branches | |
pull_request: | |
branches: [ '*' ] # Run on PRs to all branches | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: llvm-tools-preview # Required for grcov | |
- name: Build | |
run: cargo build --verbose | |
- name: Install cargo-llvm-cov and run tests | |
run: cargo install cargo-llvm-cov && cargo llvm-cov --lcov --output-path=./lcov.info | |
env: | |
CARGO_INCREMENTAL: '0' | |
RUSTFLAGS: '-Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cinstrument-coverage' | |
RUSTDOCFLAGS: '-Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cinstrument-coverage' | |
- name: Codecov | |
# You may pin to the exact commit or the version. | |
uses: codecov/[email protected] | |
with: | |
# Repository upload token - get it from codecov.io. Required only for private repositories | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./lcov.info | |
# Specify whether the Codecov output should be verbose | |
verbose: true | |
fail_ci_if_error: true | |