Clean up input file parsers and add system tests for JSON input files #39
Workflow file for this run
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: 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 pytest-xdist | |
| pip install numpy | |
| - name: result simulation system tests | |
| run: | | |
| # We're providing the path to the EXE based on the prior build solver step. | |
| pytest Tests/SystemTests -n auto --relativeExePath="build_skyline/bin/OneDSolver" | |
| - name: result unit tests | |
| run: | | |
| cd build_skyline | |
| ctest |