From e715031fd0593c8babf8ffb9460ab1ba57123a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=B5=84=E2=B5=8E=E2=B5=89=E2=B5=94=E2=B5=93=E2=B5=9B=20?= =?UTF-8?q?=E2=B4=B0=E2=B5=8E=E2=B4=B0=E2=B5=A3=E2=B5=89=E2=B5=96?= Date: Wed, 29 Nov 2023 18:38:11 +0100 Subject: [PATCH] fix(actions): execute checks inside poetry venv. --- .github/workflows/continuous-integration.yaml | 5 ++--- .github/workflows/release.yaml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 229526e..511669c 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -38,6 +38,5 @@ jobs: - run: pip install --upgrade pip - run: pip install poetry - run: cd found && make init - - run: cd found && make database-clear - - run: cd found && python readme.py - - run: cd found && make check + - run: cd found && poetry run python readme.py + - run: cd found && poetry run make check diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 766aa7d..06d1b09 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,7 +37,6 @@ jobs: - run: pip install --upgrade pip - run: pip install poetry - run: cd found && make init - - run: cd found && make database-clear - - run: cd found && python readme.py - - run: cd found && make check + - run: cd found && poetry run python readme.py + - run: cd found && poetry run make check - run: cd found && poetry publish --build