Merge pull request #150 from georust/feature/hdf5-metno #140
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] | |
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 }} |