From 64bd6f7c5b8a6f86a6dad88e93a46c04b4537f58 Mon Sep 17 00:00:00 2001 From: Dallan Quass Date: Wed, 15 May 2024 22:42:18 -0600 Subject: [PATCH] try to get github actions working again --- .github/workflows/tests.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) 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