pgcentralfoundation / pgrx

Build Postgres Extensions with Rust!
Other
3.64k stars 248 forks source link

Completely dismantle Actions-based tests except for combinatorics #1797

Open workingjubilee opened 2 months ago

workingjubilee commented 2 months ago

There are sets of tests that we have that should just be entered by a single command, like the tests for the individual "example extensions". They make fixing problems with them extremely slow because like fuck is anyone going to set up the actions runner on their desktop just to be able to run local testing, and thus everyone who contributes to pgrx, including myself, is averse to refactoring them.

related:

workingjubilee commented 2 months ago

act exists but word on the block is it kinda sucks. I'm guessing it has the problem of not actually being the same as the runner. It doesn't even seem to fully support the GHA yamlscript.

YohDeadfall commented 1 month ago

Have you considered the way bevy went? It allows to run the exactly same thing both in the CI and locally: https://github.com/bevyengine/bevy/tree/release-0.14.2/tools/ci.

workingjubilee commented 1 month ago

@YohDeadfall That's basically my intention, yes.