Skip to content

Commit

Permalink
Run actions in a venv
Browse files Browse the repository at this point in the history
  • Loading branch information
d-k-bo committed Oct 21, 2023
1 parent d3583d8 commit 8fabce1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
python-version: "3.12"
cache: pip
- run: pip install nox
- run: nox --no-venv -s check_format
- run: nox -s check_format
lint:
name: Lint
runs-on: ubuntu-latest
Expand All @@ -28,7 +28,7 @@ jobs:
python-version: "3.12"
cache: pip
- run: pip install nox
- run: nox --no-venv -s lint
- run: nox -s lint
type-check:
name: Type check
runs-on: ubuntu-latest
Expand All @@ -39,7 +39,7 @@ jobs:
python-version: "3.12"
cache: pip
- run: pip install nox
- run: nox --no-venv -s mypy
- run: nox -s mypy
tests:
name: Test
runs-on: ubuntu-latest
Expand All @@ -54,7 +54,7 @@ jobs:
python-version: ${{ matrix.python_version }}
cache: pip
- run: pip install nox
- run: nox --no-venv -s test-${{ matrix.python_version }}
- run: nox -s test-${{ matrix.python_version }}
- name: Upload coverage to Codecov
if: matrix.python_version == '3.12'
uses: codecov/codecov-action@v2

0 comments on commit 8fabce1

Please sign in to comment.