Skip to content

Commit

Permalink
fix: run -> exec on test compose
Browse files Browse the repository at this point in the history
  • Loading branch information
nischalstha9 committed Sep 5, 2024
1 parent 9a6496f commit c6c4c5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 154 deletions.
150 changes: 0 additions & 150 deletions .github/workflows/backend_functional_test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
compose_service: tm-backend
build_target: prod
compose_command: |
pip install flake8
# pip install flake8
# flake8 manage.py backend migrations
# pip install 'black==23.12.1'
# black --check manage.py backend migrations
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test_compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,9 @@ jobs:
if: ${{ ! inputs.coverage && ! inputs.playwright }}
run: |
${{ inputs.pre_command }}
docker compose --file ${{ inputs.compose_file }} \
run --no-TTY \
${{ inputs.compose_service }} ${{ inputs.compose_command }}
exec -i ${{ inputs.compose_service }} ${{ inputs.compose_command }}
# Specific for generating coverage
- name: Run Tests With Coverage
Expand Down

0 comments on commit c6c4c5c

Please sign in to comment.