diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6247e4e..6995149 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,9 +47,10 @@ jobs: run: echo "$HOME/go/bin" >> $GITHUB_PATH - name: Run database migrations + working-directory: . env: DATABASE_URL: postgresql://test_user:test_password@localhost:5432/test_db?sslmode=disable - run: goose postgres $DATABASE_URL up ./migrations + run: goose postgres $DATABASE_URL up migrations - name: Run linter working-directory: apps/api-server @@ -158,9 +159,10 @@ jobs: run: echo "$HOME/go/bin" >> $GITHUB_PATH - name: Run database migrations + working-directory: . env: DATABASE_URL: postgresql://test_user:test_password@localhost:5432/test_db?sslmode=disable - run: goose postgres $DATABASE_URL up ./migrations + run: goose postgres $DATABASE_URL up migrations - name: Run tests working-directory: apps/charging-engine @@ -218,9 +220,10 @@ jobs: run: echo "$HOME/go/bin" >> $GITHUB_PATH - name: Run database migrations + working-directory: . env: DATABASE_URL: postgresql://test_user:test_password@localhost:5432/test_db?sslmode=disable - run: goose postgres $DATABASE_URL up ./migrations + run: goose postgres $DATABASE_URL up migrations - name: Run tests working-directory: apps/packet-gateway