diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 526a267..8607863 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,9 +35,14 @@ jobs: with: python-version: ${{ matrix.python }} + - name: Echo workspace + run: | + echo $GITHUB_WORKSPACE + echo ${{ github_workspace }} + - name: Upgrade pip run: | - pip install --constraint=.github/workflows/constraints.txt pip + pip install --constraint=${{ github_workspace }}/.github/workflows/constraints.txt pip pip --version - name: Upgrade pip in virtual environments @@ -51,13 +56,13 @@ jobs: - name: Install Poetry run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install --pip-args=--constraint=${{ github_workspace }}/.github/workflows/constraints.txt poetry poetry --version - name: Install Nox run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox - pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry + pipx install --pip-args=--constraint=${{ github_workspace }}/.github/workflows/constraints.txt nox + pipx inject --pip-args=--constraint=${{ github_workspace }}/.github/workflows/constraints.txt nox nox-poetry nox --version - name: Compute pre-commit cache key @@ -116,18 +121,18 @@ jobs: - name: Upgrade pip run: | - pip install --constraint=.github/workflows/constraints.txt pip + pip install --constraint=${{ github_workspace }}/.github/workflows/constraints.txt pip pip --version - name: Install Poetry run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install --pip-args=--constraint=${{ github_workspace }}/.github/workflows/constraints.txt poetry poetry --version - name: Install Nox run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox - pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry + pipx install --pip-args=--constraint=${{ github_workspace }}/.github/workflows/constraints.txt nox + pipx inject --pip-args=--constraint=${{ github_workspace }}/.github/workflows/constraints.txt nox nox-poetry nox --version - name: Download coverage data