fix(geni)

requires DATABASE_URL from 0.0.11

closes #5307
This commit is contained in:
Jacob Heider 2024-02-21 13:38:48 -05:00
parent 20841c0358
commit f63bb9e5e0
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -20,5 +20,22 @@ build:
- cargo install --locked --path . --root {{prefix}}
test:
env:
DATABASE_URL: 'sqlite://./database.sqlite'
dependencies:
sqlite.org: '*'
script:
- test "$(geni --version)" = "geni v{{version}}"
- geni new test
- run: cat $FIXTURE >> migrations/*_test.up.sql
fixture: |
CREATE TABLE Persons (
PersonID int
)
- run: cat $FIXTURE >> migrations/*_test.down.sql
fixture: |
DROP TABLE Persons;
- geni up
- geni down