Add Github action to automatically diff new schema against old schema with updater applied #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check DB schema differences | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Build docker image | |
| run: | | |
| docker compose -p cms -f docker-compose.test.yml build testcms | |
| - name: Check schema diff | |
| run: | | |
| docker compose -p cms -f docker-compose.test.yml run --rm schemadiff |