Repository navigation
Setup GitHub Actions v1 - #1068
Conversation
roji
left a comment
There was a problem hiding this comment.
Looks great! Can't wait to have this up and running.
Here's a thought on the general workflow structure... This workflow packs everything in the build phase. This means it has to transfer the nupkgs to the publish step via artifacts, which are later shown on the workflow UI although they're of no interest at all. As an alternative, how about we simply pack in the publish phase? This means that we have one Build/Test step - which only builds in debug and runs all the tests. If it succeeds, we move on to publish, which builds in release (as part of dotnet pack) and deploys. No need for intermediate artifacts, plus we build release only once (instead of matrix).
21740ec to
af5ed84
Compare
roji
left a comment
There was a problem hiding this comment.
I think it looks even better with the packing happening in the second job - no more need for artifact transfer etc. See remaining comments but overall looks very close to merging.
cabfcb4 to
4005c3e
Compare
428dfb9 to
4b59ef1
Compare
4b59ef1 to
4be4bf1
Compare
|
Exciting news: that last run successfully published to both MyGet and GPR. The outstanding question now is whether the packages are being directed to the right sources (from above):
|
- Change names. - Restructure workflow. - Drop extra `--include-symbols` commands. - Try to inline vars.
- Bring back AppVeyor. - Let dotnet glob for test/pack/nuget. - Test v3 feed endpoint for MyGet. - Add PG 12.
- Update repo URLs. - Cleanup and fix CI/release version strategy. - Try to re-enable push to GPR. - Remove commented section for real nuget publishing (punted).
4be4bf1 to
6e7aa87
Compare
Scraping the EDB and OSGEO versions resulted in PG 10.10 (vs 10.9), PG 11.5 (vs 11.4), and PostGIS 2.5.3 (no change). Not sure why the builds failed, so pinning back to 10.9 and 11.4. Also including PostGIS 3.0.0 for further testing.
ab4165b to
ce98548
Compare
|
Scraping versions from EDB bumped us from |
Ahaha, you got me... I guess since I wrote that I'm more comfortable with just switching over, as long as everything works :) |
|
BTW maybe it's worth checking PG12 again... |
773c8de to
69f4856
Compare
Testing multiple extension versions is a cool idea, but it adds another dimension to the build matrix, which could be acceptable, except that OSGEO also doesn't provide binaries for use with PG 12. Unless someone finds a serious enough incompatibility, it's probably a better use of our time to focus on testing multiple server versions rather than extension versions.
bd53256 to
abdc47a
Compare
abdc47a to
3b1f5b1
Compare
Added, but a couple of tests fail in 12 😢
Not sure why this only fails in 12, but according to the docs, we should probably be returning zero:
|
|
OH. This doesn't fail under PG11 because there's a (breaking?) change in behavior: Per PostgreSQL 11: Per PostgreSQL 12: Haven't found this documented anywhere yet.... |
|
Interesting... For PG 12, if lots of stuff is failing we can defer it for later. Or you can ignore the problematic tests and open issue(s) to fix for 3.1. It would be best to merge this PR ASAP, so I'd rather not block it. For the strpos behavior difference, have you raised this with pg-hackers (if so link)? Do you prefer for me to do it? |
|
That last commit addressed the PG12 failures, so we should be good to merge now. I haven't emailed pg-hackers yet, and probably won't have time today. If you've got some time to confirm you can repro it too, feel free to email them. |
|
Thanks for merging and for the great work @austindrenski! It's really nice to see this and with the super-fast build times I'm sure productivity will be improved. PS Message sent to pg-hackers about strpos: https://www.postgresql.org/message-id/CADT4RqAz7oN4vkPir86Kg1_mQBmBxCp-L_%3D9vRpgSNPJf0KRkw%40mail.gmail.com |
Which was done in #1068 to compensate for a PG12 bug.
Which was done in #1068 to compensate for a PG12 bug.
Which was done in #1068 to compensate for a PG12 bug.
Goals for v1:
Punted for v2:
Should follow #1065 and #1066.