Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/dot-github/workflows/virtuale…
Browse files Browse the repository at this point in the history
…nv-20.25.3
  • Loading branch information
gadomski authored Apr 19, 2024
2 parents ca43977 + 11534cb commit 99f610a
Show file tree
Hide file tree
Showing 2 changed files with 676 additions and 380 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
NOXSESSION: ${{ matrix.session }}
FORCE_COLOR: "1"
PRE_COMMIT_COLOR: "always"
PIP_CONSTRAINTS: ${{ github.workspace }}/.github/workflows/constraints.txt

steps:
- name: Check out the repository
Expand All @@ -38,7 +39,7 @@ jobs:

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip install --constraint=$PIP_CONSTRAINTS pip
pip --version
- name: Upgrade pip in virtual environments
Expand All @@ -52,13 +53,13 @@ jobs:
- name: Install Poetry
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
pipx install --pip-args=--constraint=$PIP_CONSTRAINTS poetry
poetry --version
- name: Install Nox
run: |2
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=$PIP_CONSTRAINTS nox
pipx inject --pip-args=--constraint=$PIP_CONSTRAINTS nox nox-poetry
nox --version
- name: Compute pre-commit cache key
Expand Down Expand Up @@ -106,6 +107,8 @@ jobs:
coverage:
runs-on: ubuntu-latest
needs: tests
env:
PIP_CONSTRAINTS: ${{ github.workspace }}/.github/workflows/constraints.txt
steps:
- name: Check out the repository
uses: actions/checkout@v3
Expand All @@ -117,18 +120,18 @@ jobs:

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip install --constraint=$PIP_CONSTRAINTS pip
pip --version
- name: Install Poetry
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
pipx install --pip-args=--constraint=$PIP_CONSTRAINTS 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=$PIP_CONSTRAINTS nox
pipx inject --pip-args=--constraint=$PIP_CONSTRAINTS nox nox-poetry
nox --version
- name: Download coverage data
Expand Down
Loading

0 comments on commit 99f610a

Please sign in to comment.