Skip to content

Commit eef43b3

Browse files
committed
ci: integrate alembic check
1 parent 82a8d4f commit eef43b3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/run-unit-tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,14 @@ jobs:
171171
platform: "linux/amd64"
172172
python: ${{ matrix.python-version }}
173173
use-uv: ${{ inputs.use-uv }}
174+
- name: "Test alembic check"
175+
shell: bash
176+
run: breeze shell "${{ env.AIRFLOW_CMD }}"
177+
env:
178+
AIRFLOW_CMD: >-
179+
airflow db reset --skip-init -y &&
180+
airflow db migrate --to-revision heads &&
181+
cd airflow-core/src/airflow && alembic check
174182
- name: >
175183
Migration Tests: ${{ matrix.python-version }}:${{ env.PARALLEL_TEST_TYPES }}
176184
uses: ./.github/actions/migration_tests

0 commit comments

Comments
 (0)