mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-20 10:14:16 +00:00
25 lines
556 B
YAML
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
|