From 8fabce1ebe37697295d17c65d9587ceafe79a338 Mon Sep 17 00:00:00 2001 From: d-k-bo <47948262+d-k-bo@users.noreply.github.com> Date: Sat, 21 Oct 2023 23:52:47 +0200 Subject: [PATCH] Run actions in a venv --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdb9821..e63c00c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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 @@ -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