some polishing #279
Workflow file for this run
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: test against benchmark data | |
on: [push, pull_request] | |
jobs: | |
build-and-run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: install software to compile CaNS | |
run: sudo apt-get update; sudo apt-get install gfortran libopenmpi-dev libfftw3-dev | |
- name: install python dependencies for performing the tests | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install numpy scipy matplotlib flake8 pytest | |
- name: run all tests | |
run: | | |
make libs | |
cd tests/ | |
for i in */; do cd $i && sh testit.sh && cd -; done |