zebra/.github/workflows/coverage.yml

32 lines
573 B
YAML
Raw Normal View History

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
defaults:
timeout-minutes: 30
jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
version: 'latest'
timeout: 600
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v1.0.13