Skip to content

maybe fix ci + coverage #3

maybe fix ci + coverage

maybe fix ci + coverage #3

Workflow file for this run

name: "Continuous integration"
on:
push:
pull_request:
jobs:
ci:
name: CI checks
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- beta
- nightly
- 1.61.0 # TODO: get this from Cargo.toml automatically?
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
- run: cargo install just cargo-tarpaulin
- run: just format-ci
- run: just check-ci
- run: just test-ci
- name: coverage
uses: coverallsapp/github-action@v2
if: ${{ matrix.rust == 'stable' }}
with:
file: lcov.info
format: lcov