mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
chore: add sqlite option
This commit is contained in:
parent
68ec02a27b
commit
7e2c1d8b62
1 changed files with 23 additions and 0 deletions
23
.github/workflows/ash-ci.yml
vendored
23
.github/workflows/ash-ci.yml
vendored
|
@ -17,6 +17,9 @@ on:
|
||||||
postgres:
|
postgres:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
sqlite:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
hex-api-key:
|
hex-api-key:
|
||||||
type: string
|
type: string
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -159,6 +162,26 @@ jobs:
|
||||||
mix-env: test
|
mix-env: test
|
||||||
task: ash_postgres.migrate --tenants
|
task: ash_postgres.migrate --tenants
|
||||||
if: ${{inputs.postgres}}
|
if: ${{inputs.postgres}}
|
||||||
|
- uses: team-alembic/staple-actions/actions/mix-task@main
|
||||||
|
with:
|
||||||
|
mix-env: test
|
||||||
|
task: ash_sqlite.generate_migrations --check
|
||||||
|
if: ${{inputs.sqlite}}
|
||||||
|
- uses: team-alembic/staple-actions/actions/mix-task@main
|
||||||
|
with:
|
||||||
|
mix-env: test
|
||||||
|
task: ash_sqlite.create
|
||||||
|
if: ${{inputs.sqlite}}
|
||||||
|
- uses: team-alembic/staple-actions/actions/mix-task@main
|
||||||
|
with:
|
||||||
|
mix-env: test
|
||||||
|
task: ash_sqlite.migrate
|
||||||
|
if: ${{inputs.sqlite}}
|
||||||
|
- uses: team-alembic/staple-actions/actions/mix-task@main
|
||||||
|
with:
|
||||||
|
mix-env: test
|
||||||
|
task: ash_sqlite.migrate --tenants
|
||||||
|
if: ${{inputs.sqlite}}
|
||||||
- uses: team-alembic/staple-actions/actions/mix-test@main
|
- uses: team-alembic/staple-actions/actions/mix-test@main
|
||||||
with:
|
with:
|
||||||
mix-env: test
|
mix-env: test
|
||||||
|
|
Loading…
Reference in a new issue