2020-09-01 13:47:34 -07:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
2020-10-12 14:19:00 -07:00
|
|
|
defaults:
|
|
|
|
timeout-minutes: 30
|
|
|
|
|
2020-09-01 13:47:34 -07:00
|
|
|
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
|