Skip to content

Updated GH actions CI version. (#119) #624

Updated GH actions CI version. (#119)

Updated GH actions CI version. (#119) #624

Workflow file for this run

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 flake8 pytest
- name: run all tests
run: |
make libs
cd tests/
for i in */; do cd $i && sh testit.sh && cd -; done