Skip to content

refactor!: flatten crate organization to use workspace properly #401

refactor!: flatten crate organization to use workspace properly

refactor!: flatten crate organization to use workspace properly #401

Workflow file for this run

name: Coverage

Check failure on line 1 in .github/workflows/coverage.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/coverage.yml

Invalid workflow file

(Line: 20, Col: 9): Unexpected value 'run'
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
coverage:
runs-on: ubuntu-latest
if: startsWith(github.head_ref, 'dependabot') == false # do not run if the PR is a dependency update from the bot
steps:
# checkout
- uses: actions/checkout@v6
with:
submodules: recursive
# install requirements
- uses: dtolnay/rust-toolchain@stable
run: rustup component add llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: ./coverage.sh
# upload results
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true
slug: LIHPC-Computational-Geometry/coupe