Skip to content

Commit

Permalink
Run nox via uvx.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Feb 17, 2025
1 parent 839fc89 commit 9b85b8c
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up nox
uses: wntrblm/nox@2024.10.09
- uses: astral-sh/setup-uv@v5
- id: noxenvs-matrix
run: |
echo >>$GITHUB_OUTPUT noxenvs=$(
nox --list-sessions --json | jq '[.[].session]'
uvx nox --list-sessions --json | jq '[.[].session]'
)
test:
Expand Down Expand Up @@ -62,13 +61,9 @@ jobs:
pypy3.10
allow-prereleases: true

- name: Set up uv
uses: hynek/setup-cached-uv@v2
- name: Set up nox
uses: wntrblm/nox@2024.10.09

- uses: astral-sh/setup-uv@v5
- name: Run nox
run: nox -s "${{ matrix.noxenv }}"
run: uvx nox -s "${{ matrix.noxenv }}" -- ${{ matrix.posargs }} # zizmor: ignore[template-injection]

manylinux:
needs: test
Expand Down

0 comments on commit 9b85b8c

Please # to comment.