Skip to content

Commit

Permalink
Updated with -T switch
Browse files Browse the repository at this point in the history
  • Loading branch information
ciioprof0 committed Aug 13, 2024
1 parent 51c6895 commit 8b28835
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Docker
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Set up Docker Compose
run: docker-compose version
uses: docker/compose-action@v2.1.0

- name: Build and Run Services
run: |
docker-compose up -d --build
docker-compose exec flask-app pytest ling508/tests --verbose
docker-compose exec -T flask-app pytest ling508/tests --verbose
- name: Tear down Docker Compose
if: always()
Expand Down

0 comments on commit 8b28835

Please sign in to comment.