From c2f2214d3848cfdca6892cd44ac5f41f1f06083e Mon Sep 17 00:00:00 2001 From: AlexNg Date: Sun, 28 Apr 2024 14:43:34 +0800 Subject: [PATCH] ci(test): Run pytest through poetry Might resolve the previous unresolved ci issue in #59 --- .github/workflows/test-worker.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test-worker.yml b/.github/workflows/test-worker.yml index 231a2ef..ea91358 100644 --- a/.github/workflows/test-worker.yml +++ b/.github/workflows/test-worker.yml @@ -51,14 +51,11 @@ jobs: set -xe python -m pip install poetry coverage pytest python -m poetry install - python -m poetry self add poetry-plugin-export - python -m poetry export -f requirements.txt --output requirements.txt - python -m pip install -r requirements.txt - name: Test with pytest run: | set -xe - python -m pytest -sv + python -m poetry run pytest -sv check: if: always()