mirror of
https://github.com/markbeep/AudioBookRequest.git
synced 2026-01-27 00:19:42 -06:00
add alembic check
This commit is contained in:
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
@@ -31,6 +31,11 @@ jobs:
|
||||
with:
|
||||
version: "0.6.9"
|
||||
|
||||
- name: Install sqlite3
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y sqlite3
|
||||
|
||||
- run: uv sync --all-extras --dev
|
||||
|
||||
- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH
|
||||
@@ -39,6 +44,11 @@ jobs:
|
||||
with:
|
||||
extra-args: app # only check apps dir
|
||||
|
||||
- name: Check Alembic Migrations
|
||||
run: |
|
||||
uv run alembic upgrade heads
|
||||
uv run alembic check
|
||||
|
||||
build:
|
||||
needs: test
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'release'
|
||||
|
||||
Reference in New Issue
Block a user