github-actions: add paramz workaround

This commit is contained in:
Martin Bubel 2023-12-02 15:41:12 +01:00
parent ca4f2425bc
commit d3d93d2286

View file

@ -30,19 +30,23 @@ jobs:
- name: Install lib - name: Install lib
run: | run: |
apt-get update
apt-get install -y git
git config --global --add safe.directory /gpy/src/paramz
pip install -e git+https://github.com/MartinBubel/paramz.git@fix-numpy-types#egg=paramz
apt-get install -y gcc
pip install --upgrade pip pip install --upgrade pip
pip install setuptools pip install -e .
python setup.py develop --user
- name: pytest - name: pytest
run: | run: |
pip install matplotlib pip install matplotlib
pip install pytest pip install pytest
pytest pytest .
- name: Build wheel - name: Build wheel
run: | run: |
pip install wheel pip install wheel
python setup.py wheel python setup.py wheel
# TODO: add deploy job # TODO: add deploy job