Skip to content

2024/05/p2

2024/05/p2 #134

Workflow file for this run

on: [ push, pull_request ]
name: Coverage
jobs:
check:
name: Rust project
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install cargo-tarpaulin
run: |
cargo install cargo-tarpaulin
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out xml --exclude=aoc-derive
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
token: ${{secrets.CODECOV_TOKEN}}
# fail_ci_if_error: true