Skip to content

Add CPP unit tests

Add CPP unit tests #35

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build solver
shell: bash
run: |
sudo apt-get -y install libboost-all-dev
mkdir build_skyline
cd build_skyline
cmake ..
make
- name: install dependencies
run: |
pip install pytest pytest-cov pytest-mock
pip install numpy
- name: result tests
run: |
pytest Tests/SystemTests
- name: result unit tests
run: |
cd build_skyline
ctest