Files
noq/.github/workflows/codecov.yml
T
2021-03-04 12:35:29 -08:00

25 lines
556 B
YAML

name: Coverage
on:
push:
branches: ['main', '0.6.x', '0.5.x']
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/tarpaulin@v0.1
- uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
- uses: actions/upload-artifact@v1
with:
name: code-coverage-report
path: cobertura.xml