How to Set Up a PostgreSQL Test Database in GitHub Actions (Without pg_dump)
This post was originally published on basecut.dev.
The standard GitHub Actions job for PostgreSQL tests looks something like this:
- name: Set up test database
run: psql "$TEST_DB_URL" -f scripts/s
basecut.hashnode.dev9 min read