Skip to content

Commit

Permalink
try to get github actions working again
Browse files Browse the repository at this point in the history
  • Loading branch information
DallanQ committed May 16, 2024
1 parent 55f9961 commit 64bd6f7
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 64bd6f7

Please sign in to comment.