feat(sqlalchemy): execute tests in github actions

This commit is contained in:
Jonathan Rohde 2024-06-25 09:06:04 +02:00
parent 23e4d9daff
commit 827b1e58e9

View File

@ -67,6 +67,28 @@ jobs:
path: compose-logs.txt
if-no-files-found: ignore
pytest:
name: Run backend tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r backend/requirements.txt
- name: pytest run
run: |
ls -al
cd backend
PYTHONPATH=. pytest . -o log_cli=true -o log_cli_level=INFO
migration_test:
name: Run Migration Tests
runs-on: ubuntu-latest