Skip to content

Commit

Permalink
Fix command and remove cypress videos
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 committed Sep 12, 2023
1 parent 72eed09 commit 88c915e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
cd care
make docker_config_file=docker-compose.pre-built.yaml up
while docker-compose -f docker-compose.pre-built.yaml exec -T backend bash -c "python manage.py showmigrations | grep -q '\[ \]'"; do
while docker compose exec backend bash -c "python manage.py showmigrations 2>/dev/null | cat | grep -q '\[ \]'"; do
>&2 echo "Migrations are not yet applied - sleeping"
sleep 5
done
Expand Down Expand Up @@ -101,10 +101,3 @@ jobs:
name: cypress-screenshots
path: cypress/screenshots

# Test run video was always captured, so this action uses "always()" condition
- name: Upload cypress videos 📹
uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-videos
path: cypress/videos

0 comments on commit 88c915e

Please sign in to comment.