From 9aeec9f91193daae4158555dbe79379c006d7423 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Sun, 21 Jul 2024 16:27:52 +0200 Subject: [PATCH] update github workflow --- .github/workflows/test-and-deploy.yml | 35 ++++++++++++--------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 9ce32af0..412be21f 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -27,12 +27,6 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - - - name: Install dependencies - run: | - pip install setuptools - pip install matplotlib - pip install pytest - name: Install lib run: | @@ -42,6 +36,11 @@ jobs: run: | pytest GPy/testing + - name: Install test dependencies + run: | + pip install matplotlib + pip install pytest + test-linux: strategy: matrix: @@ -56,17 +55,16 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - - - name: Install 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 @@ -84,17 +82,16 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - - - name: Install 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 @@ -117,7 +114,6 @@ jobs: - name: Build lib run: | - pip install setuptools pip install wheel python setup.py develop python setup.py bdist_wheel @@ -150,7 +146,6 @@ jobs: - name: Build lib run: | - pip install setuptools pip install wheel python setup.py develop python setup.py bdist_wheel