chainerror/.github/workflows/coverage.yml

23 lines
783 B
YAML
Raw Normal View History

name: coverage
on: [ "push" , "pull_request" ]
jobs:
test:
name: coverage
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Generate code coverage
run: |
2020-06-03 14:30:52 +02:00
cargo tarpaulin --verbose --workspace --timeout 120 --out Lcov --output-dir coverage
- name: Upload to coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}