Skip to content

Commit

Permalink
fix yml issues
Browse files Browse the repository at this point in the history
  • Loading branch information
n-claes committed Jun 15, 2021
1 parent fd6aee1 commit a556854
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/legolas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ jobs:
matrix:
include:
- name: unit-tests
script: test_unit.sh
needs-pylbo: false
coverage: true
- name: regression
script: test_regression.sh
needs-pylbo: true
coverage: false

steps:
Expand All @@ -44,13 +40,12 @@ jobs:
gfortran-9 --version
cmake --version
- name: Install Pylbo
if: matrix.needs-pylbo
- name: Install Python dependencies & pylbo
run: |
python -m pip install --upgrade pip
pip install pytest numpy matplotlib f90nml tqdm psutil pytest-mpl gcovr
sudo python -m pip install --upgrade pip
sudo pip install pytest numpy matplotlib f90nml tqdm psutil pytest-mpl gcovr
cd post_processing
python setup.py develop
sudo python setup.py develop
- name: Cache pFUnit
id: pfunit-cache
Expand Down Expand Up @@ -105,7 +100,7 @@ jobs:
make -j 2
cd ..
./test_legolas
elif [[ "${{ matrix.name }} == "regression" ]]; then
elif [[ "${{ matrix.name }}" == "regression" ]]; then
cd $LEGOLASDIR/tests/regression_tests
pytest -v regression.py test*
fi
Expand Down

0 comments on commit a556854

Please sign in to comment.