diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 9ce32af08..412be21f5 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