bugfix/workaround for failing pipelines on GitHub

credits to @miketimofeev and @mikhailkoliada for the fix
This commit is contained in:
Martin Diehl 2021-12-23 19:23:02 +01:00
parent 6e833d2327
commit 8c2266bc50
1 changed files with 4 additions and 3 deletions

View File

@ -43,12 +43,13 @@ jobs:
pip install pytest
- name: Install dependencies
# https://github.com/actions/virtual-environments/issues/4790
run: >
sudo apt-get update &&
sudo apt-get install python3-pip python3-pytest python3-pandas python3-scipy
python3-h5py python3-vtk7 python3-matplotlib python3-yaml -y
sudo apt-get remove mysql* &&
sudo apt-get install python3-pandas python3-scipy python3-h5py python3-vtk7 python3-matplotlib python3-yaml -y
- name: Run unit tests
run: |
export PYTHONPATH=${PWD}/python
COLUMNS=256 python -m pytest python
COLUMNS=256 pytest python