Skip to content

Commit f389818

Browse files
committed
CI: integrate alembic check
1 parent 278224f commit f389818

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
@@ -70,6 +70,11 @@ on: # yamllint disable-line rule:truthy
7070
required: false
7171
default: "false"
7272
type: string
73+
run-alembic-check:
74+
description: "Whether to run alembic check or not (true/false)"
75+
required: false
76+
default: "false"
77+
type: string
7378
run-coverage:
7479
description: "Whether to run coverage or not (true/false)"
7580
required: true
@@ -175,6 +180,9 @@ jobs:
175180
Migration Tests: ${{ matrix.python-version }}:${{ env.PARALLEL_TEST_TYPES }}
176181
uses: ./.github/actions/migration_tests
177182
if: inputs.run-migration-tests == 'true' && inputs.test-group == 'core'
183+
- name: >
184+
Alembic Check: ${{ matrix.python-version }}:${{ env.PARALLEL_TEST_TYPES }}
185+
run: alembic check
178186
- name: >
179187
${{ inputs.test-group }}:${{ inputs.test-scope }} Tests ${{ inputs.test-name }} ${{ matrix.backend-version }}
180188
Py${{ matrix.python-version }}:${{ env.PARALLEL_TEST_TYPES }}

0 commit comments

Comments
 (0)