makeifle: make migrate

This commit is contained in:
realaravinth
2021-07-07 18:20:06 +05:30
parent 5fa668ad97
commit eb5c0164dc
3 changed files with 15 additions and 7 deletions

View File

@@ -81,9 +81,17 @@ jobs:
- name: Run the frontend tests
run: make frontend-test
- name: Run migrations
run: make migrate
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/postgres
- name: Generate coverage file
if: matrix.version == '1.51.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
run: make xml-test-coverage
uses: actions-rs/tarpaulin@v0.1
with:
version: '0.15.0'
args: '-t 1200'
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/postgres
# GIT_HASH is dummy value. I guess build.rs is skipped in tarpaulin

View File

@@ -69,7 +69,7 @@ jobs:
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Run migrations
run: make migrations
run: make migrate
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/postgres