As can be seen here, the PGPASSWORD environment variable is defined on Windows. Its default value of root conflicts with the default value postgres from action-setup-postgres. So it would be nice to set this variable accordingly from this GitHub action. It took me several hours to figure this out, as I couldn't find why our tests failed.