From 36909f04bda531a3b2b3d474ead417f49566ea7e Mon Sep 17 00:00:00 2001 From: stijndcl Date: Thu, 23 Jun 2022 11:56:25 +0200 Subject: [PATCH] Use alembic test package --- .github/workflows/python.yml | 2 +- requirements-dev.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 382bc76..81260bd 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -53,7 +53,7 @@ jobs: - name: Install dependencies run: pip3 install -r requirements.txt -r requirements-dev.txt - name: Run Pytest - run: pytest tests + run: pytest tests --test-alembic env: DB_TEST_SQLITE: false DB_NAME: didier_action diff --git a/requirements-dev.txt b/requirements-dev.txt index ef7679c..6438912 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,6 +3,7 @@ black==22.3.0 mypy==0.961 pylint==2.14.1 pytest==7.1.2 +pytest-alembic==0.8.2 pytest-asyncio==0.18.3 pytest-env==0.6.2 sqlalchemy2-stubs==0.0.2a23