Run CI tests as a Python module to resolve project imports
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -18,7 +18,7 @@ steps:
|
|||||||
- ruff check src main.py scripts tests migrations
|
- ruff check src main.py scripts tests migrations
|
||||||
- python scripts/check_secrets.py
|
- python scripts/check_secrets.py
|
||||||
- pip-audit -r requirements.txt
|
- pip-audit -r requirements.txt
|
||||||
- pytest -q
|
- python -m pytest -q
|
||||||
|
|
||||||
- name: postgres-tests
|
- name: postgres-tests
|
||||||
image: python:3.12-slim
|
image: python:3.12-slim
|
||||||
@@ -31,7 +31,7 @@ steps:
|
|||||||
- python scripts/wait_database.py
|
- python scripts/wait_database.py
|
||||||
- alembic upgrade head
|
- alembic upgrade head
|
||||||
- python scripts/check_schema.py
|
- python scripts/check_schema.py
|
||||||
- pytest -q
|
- python -m pytest -q
|
||||||
|
|
||||||
- name: package
|
- name: package
|
||||||
image: python:3.12-slim
|
image: python:3.12-slim
|
||||||
|
|||||||
Reference in New Issue
Block a user