diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c0a4c9..ce78364 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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()