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

Re-enable migration check. #772

Merged
merged 1 commit into from
Oct 14, 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
11 changes: 6 additions & 5 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:

# TODO: broken test - https://github.com/Samfundet/Samfundet4/issues/730
- name: Verify migrations
# python -m pipenv run migrations:verify
run: |
python -m pipenv run migrations:verify
python -m pipenv run migrations:apply

- name: Run tests
Expand Down Expand Up @@ -95,19 +95,20 @@ jobs:
echo VITE_CYPRESS_BASE_URL=http://frontend:3000 >> frontend/.env.docker

- name: Build images
run: docker compose build backend frontend
run: docker compose build backend frontend storybook

- name: Start containers
run: docker compose up backend frontend -d; sleep 20 # Give additional seconds to boot.
run: docker compose up backend frontend storybook -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