mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-23 19:48:19 +00:00
6018f20055
It won’t work, as those builds don’t have access to the CodeCov API token.
25 lines
549 B
YAML
25 lines
549 B
YAML
name: Coverage
|
|
|
|
on:
|
|
push:
|
|
branches: ['master', '0.5.x']
|
|
|
|
jobs:
|
|
coverage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- 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
|