Merge pull request #122 from magnusuMET/feature/flatten_imports #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: codecov | |
on: [push] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
tarpaulin: | |
name: tarpaulin | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- 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.26.1" | |
- name: Tarpaulin | |
run: cargo tarpaulin --verbose --out Xml --ignore-tests | |
- name: Upload to codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |