Skip to content

Specify repository in codecov action #551

Specify repository in codecov action

Specify repository in codecov action #551

name: Test C++ interface
# The workflow gets triggered by pushes and pull requests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
# checks out the code in the repository
- uses: actions/checkout@v3
with:
submodules: true
- name: Install dependencies
run: |
sudo apt install -y libboost-dev
sudo apt install -y libtbb-dev
sudo apt install libomp-dev
- name: Compile and run tests
working-directory: ${{ github.workspace }}/tests
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
ctest --test-dir build --output-on-failure