Merge pull request #3 from DanielVoogsgerd/master #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
tarpaulin: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Run Tarpaulin | |
uses: actions-rs/[email protected] | |
with: | |
args: '--avoid-cfg-tarpaulin --workspace --packages socksx' | |
out-type: 'Lcov' | |
- name: Upload to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
path-to-lcov: ./lcov.info | |
github-token: ${{ secrets.GITHUB_TOKEN }} |