diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7f9674a98..0d52f7e42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest] + os: [ubuntu-22.04, ubuntu-latest, macos-13, macos-latest] fail-fast: false steps: - uses: actions/checkout@v4 @@ -23,6 +23,10 @@ jobs: #alias conda="$CONDA/bin/conda" conda create -n zerod python=3.11.4 conda run -n zerod pip install -e ".[dev]" + - name: Test the build + run: | + cd tests + conda run -n zerod pytest -v --durations=0 - name: Build using CMake run: | mkdir Release @@ -31,10 +35,6 @@ jobs: make -j2 - name: Test interface run: | - cd ../tests/cases - ../../build/svzerodsolver pulsatileFlow_R_RCR_mean.json results.csv - rm results.csv - cd ../../Release cd tests/test_interface mkdir build_tests cd build_tests