Closed mringler closed 1 year ago
Base: 87.59% // Head: 88.41% // Increases project coverage by +0.81%
:tada:
Coverage data is based on head (
3205909
) compared to base (fa19b97
). Patch has no changes to coverable lines.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
While playing around with the postgres tests, I stumbled over having to enter the database password three times every time I ran the setup script, even though I provided the password in the designated
DB_PW
variable.This can be remedied by registering connection in a
.pgpass
file or setting thePGPASSWORD
variable, but having to change the system to run tests seamlessly should not be necessary. Fortunately, the issue can easily be addressed in the setup script. All we need to do is setting postgres'PGPASSWORD
variable to the password inDB_PW
before running dropdb, createdb and psql. I do that in a subshell, so the value ofPGPASSWORD
in the actual shell is not altered.That's it, no more triple password prompt.
The gitlab workflows used the
DB_PW
+PGPASSWORD
approach, let's see how it does withoutPGPASSWORD