update dependency installation in github workflows

This commit is contained in:
Martin Bubel 2024-07-21 16:38:40 +02:00
parent c25238b7f0
commit 4959256c24

View file

@ -28,16 +28,19 @@ jobs:
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}
- name: Install dependencies - name: Install build dependencies
run: | run: |
pip install setuptools pip install setuptools
pip install matplotlib
pip install pytest
- name: Install lib - name: Install lib
run: | run: |
python setup.py develop python setup.py develop
- name: Install test dependencies
run: |
pip install matplotlib
pip install pytest
- name: pytest - name: pytest
run: | run: |
pytest GPy/testing pytest GPy/testing
@ -57,16 +60,19 @@ jobs:
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}
- name: Install dependencies - name: Install build dependencies
run: | run: |
pip install setuptools pip install setuptools
pip install matplotlib
pip install pytest
- name: Install lib - name: Install lib
run: | run: |
python setup.py develop python setup.py develop
- name: Install test dependencies
run: |
pip install matplotlib
pip install pytest
- name: pytest - name: pytest
run: | run: |
pytest GPy/testing pytest GPy/testing
@ -88,8 +94,6 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install setuptools pip install setuptools
pip install matplotlib
pip install pytest
- name: Install lib - name: Install lib
run: | run: |