From 0656d57cc3b5898fd4617583950f7d9e634b1d00 Mon Sep 17 00:00:00 2001 From: Andrew Dickinson Date: Sat, 27 Jan 2024 19:57:26 -0500 Subject: [PATCH] Fix forgotten migrations check --- .github/workflows/no_forgoten_migrations.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/no_forgoten_migrations.yaml b/.github/workflows/no_forgoten_migrations.yaml index 6b64e08e..cbcfcabc 100644 --- a/.github/workflows/no_forgoten_migrations.yaml +++ b/.github/workflows/no_forgoten_migrations.yaml @@ -5,6 +5,21 @@ on: [pull_request] jobs: is-migration-diff-clean: runs-on: ubuntu-latest + services: + postgres: + image: postgres:latest + env: + POSTGRES_DB: nycmesh-dev + POSTGRES_USER: nycmesh + POSTGRES_PASSWORD: abcd1234 + POSTGRES_PORT: 5432 + ports: + - 5432:5432 + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 steps: - uses: actions/checkout@v3 - name: Set up Python