Run omv tests multiple times to test indeterminacy #72
This file contains 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: C/C++ CI | |
on: | |
push: | |
branches: [ "main", "development", "experimental", "test*" ] | |
pull_request: | |
branches: [ "main", "development", "experimental", "test*" ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
runs-on: [ubuntu-latest, macos-latest ] | |
python-version: [ 3.9, "3.11" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: C++ info | |
run: g++ -v | |
- name: Test makefile | |
run: make | |
- name: Test directly running main program | |
run: | | |
./main -p 4 | |
ls -alth | |
- name: Test Python command line script | |
run: | | |
pip install numpy matplotlib | |
python run_main.py -R 1234 -p 6 --doEvol --folderName exampleRun2 | |
- name: Test using OMV 1 | |
run: | | |
pip install OSBModelValidation | |
omv all -V | |
git diff exampleRun/phenotype.dat | |
- name: Test using OMV 2 | |
run: | | |
omv all -V | |
git diff exampleRun/phenotype.dat | |
- name: Test using OMV 3 | |
run: | | |
omv all -V | |
git diff exampleRun/phenotype.dat | |
- name: list generated files | |
run: | | |
ls -alth |