From 946aca8deffb641aafd4c7274e3190923a598094 Mon Sep 17 00:00:00 2001 From: oyessb <47382101+oyessb@users.noreply.github.com> Date: Fri, 24 Apr 2026 15:54:03 +0200 Subject: [PATCH 1/4] Replace action snok/install-poetry with pipx install poetry --- .github/workflows/build.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4fc74723..e93c65dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,10 +20,7 @@ jobs: with: python-version: "3.11" - name: Install Poetry - uses: snok/install-poetry@v1 - with: - virtualenvs-create: true - virtualenvs-in-project: true + run: pipx install poetry - name: Load cached venv id: cached-pip-wheels uses: actions/cache@v4 From d6419182c58894b50dda8fa7689ab318e2ed5072 Mon Sep 17 00:00:00 2001 From: oyessb <47382101+oyessb@users.noreply.github.com> Date: Fri, 24 Apr 2026 16:05:16 +0200 Subject: [PATCH 2/4] removed venv --- .github/workflows/build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e93c65dc..b54c74fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,9 +32,7 @@ jobs: - name: Install library run: poetry install --no-interaction - name: Run tests - run: | - source $VENV - pytest + run: pytest - name: Lint run: | source $VENV From 118a307e8d0d6adf5ba27692ade02c047528268d Mon Sep 17 00:00:00 2001 From: oyessb <47382101+oyessb@users.noreply.github.com> Date: Fri, 24 Apr 2026 16:08:14 +0200 Subject: [PATCH 3/4] add poetry run --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b54c74fc..be109482 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: - name: Install library run: poetry install --no-interaction - name: Run tests - run: pytest + run: poetry run pytest - name: Lint run: | source $VENV From 64af915c0afc442f5651d3d96324c8542735ce9f Mon Sep 17 00:00:00 2001 From: oyessb <47382101+oyessb@users.noreply.github.com> Date: Mon, 18 May 2026 15:18:08 +0200 Subject: [PATCH 4/4] Replace souce venv with poetry run --- .github/workflows/build.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be109482..9e1a7849 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,10 +34,6 @@ jobs: - name: Run tests run: poetry run pytest - name: Lint - run: | - source $VENV - flake8 . || echo "Linting errors found, but we're treating this as a warning." + run: poetry run flake8 . || echo "Linting errors found, but we're treating this as a warning." - name: Format - run: | - source $VENV - black . --check || echo "Formatting errors found, but we're treating this as a warning." + run: poetry run black . --check || echo "Formatting errors found, but we're treating this as a warning."