Merge pull request 'Update CI workflow to include database migration before running tests' (#248) from ci-cd/migrations into development
Reviewed-on: ADUANASOFT/anexo76#248
This commit is contained in:
@@ -64,6 +64,8 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r "$GITHUB_WORKSPACE/backend/requirements.txt"
|
||||
cd "$GITHUB_WORKSPACE/backend"
|
||||
export DATABASE_URL="$TEST_DATABASE_URL"
|
||||
alembic upgrade head
|
||||
pytest -q tests -v -ra -s
|
||||
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user