-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df65324
commit 4f36fa5
Showing
3 changed files
with
28 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,13 +32,15 @@ jobs: | |
with: | ||
python-version: 3.12 | ||
|
||
- uses: hynek/[email protected] | ||
|
||
- name: Install tools | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
python -Im pip install -U pip | ||
pipx install griffe nox | ||
pipx list | ||
uv tool install griffe | ||
uv tool install nox | ||
uv tool list | ||
- name: Set REF | ||
id: set-ref | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,35 +34,31 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Upgrade pip | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
pip install pip | ||
pip --version | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
- uses: hynek/[email protected] | ||
|
||
- name: Install Poetry | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
pipx install poetry | ||
uv tool install poetry | ||
poetry --version | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
|
||
- name: Install pre-commit | ||
env: | ||
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
pipx install pre-commit | ||
uv install tool pre-commit | ||
pre-commit --version | ||
- name: Install Nox | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
pipx install nox | ||
uv install tool nox | ||
nox --version | ||
- name: Run Nox | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,18 +63,13 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Upgrade pip | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
pip install pip | ||
pip --version | ||
- uses: hynek/[email protected] | ||
|
||
- name: Install Nox | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
pipx install 'nox[uv]' | ||
uv tool install nox | ||
nox --version | ||
- name: Run Nox | ||
|
@@ -110,18 +105,12 @@ jobs: | |
with: | ||
python-version: ${{ env.NOXPYTHON }} | ||
|
||
- name: Upgrade pip | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
pip install pip | ||
pip --version | ||
- uses: hynek/[email protected] | ||
- name: Install Nox | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
pipx install 'nox[uv]' | ||
uv tool install nox | ||
nox --version | ||
- name: Run Nox | ||
|
@@ -141,23 +130,18 @@ jobs: | |
with: | ||
python-version: '3.12' | ||
|
||
- name: Upgrade pip | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
pip install pip | ||
pip --version | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
pattern: coverage-data-* | ||
merge-multiple: true | ||
|
||
- uses: hynek/[email protected] | ||
|
||
- name: Install Nox | ||
env: | ||
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | ||
run: | | ||
pipx install 'nox[uv]' | ||
uv tool install nox | ||
nox --version | ||
- run: nox --install-only | ||
|