mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
23 lines
470 B
YAML
23 lines
470 B
YAML
name: coverage
|
|
|
|
on: [push, pull_request]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
coverage:
|
|
name: Generate coverage
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Run cargo-tarpaulin
|
|
uses: actions-rs/tarpaulin@v0.1
|
|
with:
|
|
args: "--ignore-tests -- --test-threads 1 --features githubActions"
|
|
|
|
- name: Upload to codecov.io
|
|
uses: codecov/codecov-action@v1
|