From 8ddda1da385dfbf9bd3856ed2e331f6600d23dbe Mon Sep 17 00:00:00 2001 From: Sigurd Spieckermann Date: Tue, 26 Mar 2024 18:20:33 +0100 Subject: [PATCH] Enable Poetry's virtual env in CI --- .github/workflows/cicd.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c938ac8..9382f64 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -18,12 +18,11 @@ jobs: with: python-version: ${{ matrix.python-version }} - run: pip install -U pip poetry - - run: poetry config virtualenvs.create false - run: poetry install - - run: ruff check src/ tests/ - - run: ruff format --diff --check src/ tests/ - - run: mypy src/ tests/ - - run: pytest + - run: poetry run ruff check src/ tests/ + - run: poetry run ruff format --diff --check src/ tests/ + - run: poetry run mypy src/ tests/ + - run: poetry run pytest cd: needs: [ci]