Skip to content

Commit

Permalink
Create coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sgherbst authored Mar 3, 2020
1 parent c4afc9d commit ec60a95
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Coverage

on: [push]

jobs:
build:

runs-on: ubuntu-latest

container:
image: xd009642/tarpaulin
volumes:
- $GITHUB_WORKSPACE:/volume
options: --security-opt seccomp=unconfined

steps:
- name: Checkout
uses: actions/checkout@v1
- name: Run tests
run: cargo tarpaulin -v --out Xml
continue-on-error: true
- name: Upload coverage
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}

0 comments on commit ec60a95

Please sign in to comment.