Skip to content

Commit

Permalink
Run Alembic again
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jul 11, 2024
1 parent 82e1b2f commit 1f39427
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,25 @@ jobs:
- name: Initialize the acceptance tests
run: make acceptance-init
- run: c2cciutils-docker-logs
if: always()

- name: Fix null values
run: docker compose exec tools psql -c "UPDATE main_2_7.tsearch SET label = 'no-label' WHERE label is NULL;"
- name: Rename schemas
run: |
docker compose exec tools psql -c "ALTER SCHEMA main_2_7 RENAME TO main_2_9;"
docker compose exec tools psql -c "ALTER SCHEMA static_2_7 RENAME TO static_2_9;"
- name: Run Alembic main
run: docker compose up alembic-main
- name: Run Alembic static
run: docker compose up alembic
- run: c2cciutils-docker-logs

- name: Run the acceptance tests
run: make acceptance
- run: c2cciutils-docker-logs
if: always()

- run: make acceptance-dev
- run: c2cciutils-docker-logs
if: always()

- run:
docker compose --file=docker-compose.yaml --file=docker-compose-db.yaml --file=docker-compose.override.sample.yaml
Expand Down

0 comments on commit 1f39427

Please sign in to comment.