-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix windows CI build via conda #22
Comments
Note: even the MacOS build seems to be "flaky" and can error at the step that starts the postgres cluster. In #25 it first got an error
and then, after enabling debug logging (which should not change anything) gave
and the tests passed. |
ltalirz
added a commit
that referenced
this issue
Aug 31, 2021
It seems that [somewhere between April 5th 2020 and February 17th 2021](#22), on the Github Action Windows runners the default superuser of postgresql databases changed. The superuser created upon installation of the postgresql conda package used to be `postgres` like on UNIX systems, but then started to use the name of the OS user running the commands (here: `runneradmin`), seemingly without updating the postgresql conda package. This change switches the default database superuser for Windows from `postgres` to the OS user, fixing CI tests.
fixed by #28 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The windows CI build has started failing with the error
https://github.com/aiidateam/pgsu/runs/1914573646#step:7:69
(while the MacOS build using otherwise identical instructions still succeeds)
This sounds like, for some reason, on windows there is no
postgresql
superuser.However, on April 5th 2020 the tests still passed, and there hasn't been an update in the anaconda postgresql package for windows since then
https://anaconda.org/anaconda/postgresql/files
the only difference I can see between macos and windows is
MacOS
Windows
The text was updated successfully, but these errors were encountered: