Skip to content

Async fn in traits

Async fn in traits #35

Workflow file for this run

name: Troupe Coverage
on:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Rust
uses: hecrj/setup-rust-action@v2
with:
rust-version: stable
- name: Fetch Tarpaulin
uses: actions-rs/[email protected]
with:
crate: cargo-tarpaulin
version: 'latest'
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --workspace --timeout 120 --out Xml
- name: Report coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}