From a556854d8dda21fface447e41ff22dfb36ff6da7 Mon Sep 17 00:00:00 2001 From: Niels Claes Date: Tue, 15 Jun 2021 15:43:11 +0200 Subject: [PATCH] fix yml issues --- .github/workflows/legolas.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/legolas.yml b/.github/workflows/legolas.yml index 2d5f8a18..c5d281cf 100644 --- a/.github/workflows/legolas.yml +++ b/.github/workflows/legolas.yml @@ -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: @@ -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 @@ -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