-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to pgrx v0.11.4 and use
include_bytes!()
The new version of pgrx allows tests to be run as a different user, which will allow pgrx testing support to be added to /pgxn/docker-pgxn-tools. The change here lets me actually test it before release. As part of that testing, with the help of @eeeebbbbrrrr, switch to loading the test JSON schemas into the test module at compile time instead of runtime. This fixes an issue where the `CARGO_MANIFEST_DIR` environment variable was not present while running tests as a different user. It's more efficient anyway.
- Loading branch information
Showing
5 changed files
with
77 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters