From db55918cc1150af463c44f9d4a28d8431a6f40da Mon Sep 17 00:00:00 2001 From: mrtedn21 Date: Mon, 13 Nov 2023 13:04:57 +0700 Subject: [PATCH] using poetry instead of pip in actions --- .github/workflows/github-actions-demo.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index cf4bdc9..58112d9 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -17,9 +17,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install sqlalchemy asyncpg uvloop alembic psycopg2 marshmallow marshmallow-jsonschema dacite marshmallow-enum pytest pytest-asyncio + python -m pip install poetry + python -m poetry install - name: Run pytest run: | PYTHONPATH=$(pwd) export PYTHONPATH - pytest \ No newline at end of file + poetry run pytest \ No newline at end of file