We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0e8a23 commit ee52362Copy full SHA for ee52362
.github/workflows/dynamic_tests.yaml
@@ -42,10 +42,12 @@ jobs:
42
done
43
44
- name: Run migrations
45
- run: docker-compose run --rm fastapi_expense_backend alembic upgrade head
+ run: docker-compose exec -it fastapi_expense_backend alembic upgrade head
46
47
- name: Run tests
48
- run: docker-compose run --rm fastapi_expense_backend pytest tests/end_to_end --cov=app --cov-report=term
+ run: |
49
+ docker-compose exec -it fastapi_expense_backend pytest pip install -r requirements_tests.txt
50
+ docker-compose exec -it fastapi_expense_backend pytest tests/end_to_end --cov=app --cov-report=html
51
52
- name: Copy coverage report from container
53
run: |
0 commit comments