feat(cate): stratification #243
This file contains hidden or 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: target library (cpp) tests | |
on: | |
pull_request: | |
branches: [main, dev] | |
jobs: | |
cpp_library: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository incl. submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: | | |
sudo apt-get install -y lcov libblas-dev liblapack-dev | |
- name: Unit tests | |
run: | | |
cd src/target | |
make test | |
- name: Coverage | |
run: | | |
cd src/target | |
make coverage | |
cd build/coverage; make coverage | |
./target_test -s | |
bash <(curl -s https://codecov.io/bash) |