Skip to content

Many more tests

Many more tests #76

Workflow file for this run

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 1233 -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