diff --git a/.github/workflows/A2_Part2.yml b/.github/workflows/A2_Part2.yml index fb6a8f3..2caadd6 100644 --- a/.github/workflows/A2_Part2.yml +++ b/.github/workflows/A2_Part2.yml @@ -30,15 +30,18 @@ jobs: docker rm frontend || true docker stop backend || true docker rm backend || true - docker stop redis || true - docker rm redis || true docker run -d --name frontend -p 80:3000 ${{ secrets.DOCKERHUB_USERNAME }}/cscc01-linkup_frontend:latest docker run -d --name backend -p 5000:5000 ${{ secrets.DOCKERHUB_USERNAME }}/cscc01-linkup_backend:latest - name: Run Automated Tests for Backend run: | - docker exec backend npm test + ls + cd backend + npm install + npm test - name: Run Automated Tests for Frontend run: | - docker exec frontend npm test + cd frontend + npm install + npm test