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: |