Skip to content

v0.1.3 - msrv 1.63, cxx downgrade (#3) #37

v0.1.3 - msrv 1.63, cxx downgrade (#3)

v0.1.3 - msrv 1.63, cxx downgrade (#3) #37

Workflow file for this run

# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
on:
push:
tags-ignore:
- "**"
branches:
- "**"
pull_request:
name: Generate Coverage report
jobs:
coverage:
runs-on: ubuntu-latest
container: mwatelescope/birli:latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install stable Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy, llvm-tools
- name: Install cargo-llvm-cov
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-llvm-cov
- name: Generate test lcov coverage into coverage/ dir
run: |
mkdir -p coverage
cargo llvm-cov --all --locked --lcov --output-path coverage/coverage.lcov
# this uses the result of the previous run to generate a text summary
cargo llvm-cov --no-run --locked
- name: Upload reports to codecov.io
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}