Skip to content

Commit

Permalink
Add variable for home directory
Browse files Browse the repository at this point in the history
Add variable for home directory
  • Loading branch information
francbartoli committed Apr 5, 2024
1 parent 7b2fc60 commit 71a0773
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
fail-fast: false
matrix:
include:
- { python: "3.10", os: "ubuntu-20.04", session: "pre-commit" }
- { python: "3.10", os: "ubuntu-20.04", session: "safety" }
- { python: "3.10", os: "ubuntu-20.04", session: "bandit" }
- { python: "3.10", os: "ubuntu-20.04", session: "mypy" }
- { python: "3.9", os: "ubuntu-20.04", session: "mypy" }
- { python: "3.10", os: "ubuntu-20.04", session: "tests" }
- { python: "3.9", os: "ubuntu-20.04", session: "tests" }
- { python: "3.10", os: "ubuntu-22.04", session: "pre-commit" }
- { python: "3.10", os: "ubuntu-22.04", session: "safety" }
- { python: "3.10", os: "ubuntu-22.04", session: "bandit" }
- { python: "3.10", os: "ubuntu-22.04", session: "mypy" }
- { python: "3.9", os: "ubuntu-22.04", session: "mypy" }
- { python: "3.10", os: "ubuntu-22.04", session: "tests" }
- { python: "3.9", os: "ubuntu-22.04", session: "tests" }
# - { python: "3.10", os: "windows-latest", session: "tests" }
# - { python: "3.10", os: "macos-latest", session: "tests" }
- { python: "3.10", os: "ubuntu-20.04", session: "typeguard" }
- { python: "3.10", os: "ubuntu-20.04", session: "xdoctest" }
- { python: "3.10", os: "ubuntu-20.04", session: "docs-build" }
- { python: "3.10", os: "ubuntu-22.04", session: "typeguard" }
- { python: "3.10", os: "ubuntu-22.04", session: "xdoctest" }
- { python: "3.10", os: "ubuntu-22.04", session: "docs-build" }

env:
NOXSESSION: ${{ matrix.session }}
Expand All @@ -41,7 +41,7 @@ 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: Upgrade pip in virtual environments
Expand All @@ -55,13 +55,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: Install GDAL
Expand Down Expand Up @@ -126,18 +126,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 71a0773

Please sign in to comment.