Skip to content

Commit

Permalink
chore: use python from setup-python step to run nox (#1921)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut authored Jul 8, 2024
1 parent a4d2405 commit 6c8347f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
id: python
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.1
- name: Check manifest
run: pipx run nox -s check_manifest
run: pipx run --python "${{ steps.python.outputs.python-path }}" nox -s check_manifest
- name: PyLint checks
run: pipx run nox -s pylint -- --output-format=github
run: pipx run --python "${{ steps.python.outputs.python-path }}" nox -s pylint -- --output-format=github

test:
name: Test on ${{ matrix.os }} (${{ matrix.python_version }})
Expand Down

0 comments on commit 6c8347f

Please sign in to comment.