forked from georust/netcdf
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (29 loc) · 839 Bytes
/
codecov.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: codecov
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
tarpaulin:
name: tarpaulin
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install netcdf
run: sudo apt-get install libnetcdf-dev
- name: Install rust
uses: dtolnay/rust-toolchain@stable
- name: Install tarpaulin
uses: baptiste0928/cargo-install@30f432979e99f3ea66a8fa2eede53c07063995d8 # v2.1.0
with:
crate: cargo-tarpaulin
version: "0.27.3"
- name: Tarpaulin
run: cargo tarpaulin --verbose --out Xml --ignore-tests
- name: Upload to codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}