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