Skip to content

run migrations in the same step as the test #71

run migrations in the same step as the test

run migrations in the same step as the test #71

Workflow file for this run

name: test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
run: cp test.env .env && touch proxy.env
- name: Test
run: >-
docker-compose run --rm test bash -c "goose -dir migrations postgres postgres://keygo:keygo@testdb:5432/keygo?sslmode=disable up" &&
docker compose run --rm test