From 4959256c24c3094c8d71f17f98e4e149c9d93392 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Sun, 21 Jul 2024 16:38:40 +0200 Subject: [PATCH] update dependency installation in github workflows --- .github/workflows/test-and-deploy.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 7c400c41..d83a7c37 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -28,15 +28,18 @@ jobs: with: python-version: ${{ matrix.python }} - - name: Install dependencies + - name: Install build dependencies run: | pip install setuptools - pip install matplotlib - pip install pytest - name: Install lib run: | python setup.py develop + + - name: Install test dependencies + run: | + pip install matplotlib + pip install pytest - name: pytest run: | @@ -57,16 +60,19 @@ jobs: with: python-version: ${{ matrix.python }} - - name: Install dependencies + - name: Install build dependencies run: | pip install setuptools - pip install matplotlib - pip install pytest - name: Install lib run: | python setup.py develop + - name: Install test dependencies + run: | + pip install matplotlib + pip install pytest + - name: pytest run: | pytest GPy/testing @@ -88,8 +94,6 @@ jobs: - name: Install dependencies run: | pip install setuptools - pip install matplotlib - pip install pytest - name: Install lib run: |