Skip to content

ci: temporarily run coverage on all push events #1

ci: temporarily run coverage on all push events

ci: temporarily run coverage on all push events #1

Workflow file for this run

name: Coverage Report
on:
pull_request:
paths: ["src/**/*.*", "tests/**/*.*", "Cargo.toml", "Cargo.lock"]
push:
# branches: ["main"]
# paths: ["src/**/*.*", "tests/**/*.*", "Cargo.toml", "Cargo.lock"]
jobs:
lint:
name: Coverage
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate code coverage
run: cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true