You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nix flake check runs all the tests we have, this can take a long time and the generated output files are big as well. This is inefficient, considering sometimes just one migration can be modified.
For these cases just running pg_regress over nix/tests would be enough. This should be much faster.
CI will still of course ensure nix flake check is run, but locally we can benefit from more speed.
Solution
Expose some tests as regular bash scripts, so developers can do:
$ nix develop
Then run:
$ <someprefix>-run-tests --kind migrations
The text was updated successfully, but these errors were encountered:
Problem
nix flake check
runs all the tests we have, this can take a long time and the generated output files are big as well. This is inefficient, considering sometimes just one migration can be modified.For these cases just running
pg_regress
over nix/tests would be enough. This should be much faster.CI will still of course ensure
nix flake check
is run, but locally we can benefit from more speed.Solution
Expose some tests as regular bash scripts, so developers can do:
Then run:
The text was updated successfully, but these errors were encountered: