Skip to content

Merge pull request #1 from KeystoneHQ/feat/0.3.2 #2

Merge pull request #1 from KeystoneHQ/feat/0.3.2

Merge pull request #1 from KeystoneHQ/feat/0.3.2 #2

Workflow file for this run

name: Code Coverage v2
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
check:
name: Rust project
runs-on: ubuntu-latest
environment: default
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
version: '0.15.0'
args: '-- --test-threads 1'
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
token: ${{secrets.CODECOV_TOKEN}}
- name: Archive code coverage results
uses: actions/upload-artifact@v1
with:
name: code-coverage-report
path: cobertura.xml