Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit pipeline containers. #757

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading