Skip to content

Commit

Permalink
Limit pipeline containers.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilte committed Oct 13, 2023
1 parent 3a727bc commit 809d471
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,19 @@ jobs:
echo VITE_CYPRESS_BASE_URL=http://frontend:3000 >> frontend/.env.docker
- name: Build images
run: docker compose build
run: docker compose build backend frontend

- name: Start containers
run: docker compose up -d; sleep 20 # Give additional seconds to boot.
run: docker compose up backend frontend -d; sleep 20 # Give additional seconds to boot.

- name: Check running containers
# Will fail if container isn't running.
run: |
docker compose exec backend echo
docker compose exec frontend echo
docker compose exec storybook echo
- name: Seed backend for Cypress tests
run: docker compose exec backend pipenv run python manage.py seed_cypress
# - name: Seed backend for Cypress tests
# run: docker compose exec backend pipenv run python manage.py seed_cypress

# - name: Run cypress
# run: docker compose up cypress
Expand Down

0 comments on commit 809d471

Please sign in to comment.