From 1cf352bc9c18ee645a7034372e27cb73ec56c585 Mon Sep 17 00:00:00 2001 From: Martijn Pieters Date: Tue, 16 May 2023 12:29:18 +0100 Subject: [PATCH] CI: tox now takes care of extras and groups The outer Poetry installation can be simplified as long as tox is part of the dev group. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25c9b4f..83188e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: ${{ runner.os }}-mypy-${{ steps.setup-python.outputs.python-version }}- ${{ runner.os }}-mypy- - name: Install linting requirements - run: poetry install --no-root --with=linting --all-extras + run: poetry install --no-root - name: Execute linters run: make lint @@ -55,7 +55,7 @@ jobs: cache: poetry - name: Install testing requirements run: | - poetry install --no-root --all-extras + poetry install --no-root poetry run pip install tox-gh-actions - name: Execute tests run: poetry run tox