Run tests of gixsql in CI with the new preprocessor#372
Draft
Halbaroth wants to merge 39 commits intoOCamlPro:masterfrom
Draft
Run tests of gixsql in CI with the new preprocessor#372Halbaroth wants to merge 39 commits intoOCamlPro:masterfrom
Halbaroth wants to merge 39 commits intoOCamlPro:masterfrom
Conversation
- fix sql stmt generation when stmt is exactly 72 char long - unify prefix on all preproc genereted lines
Collaborator
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the tests of gixsql (https://github.com/OcamlPro/gixsql) in the CI of Superbol.
As you can check on my fork (Halbaroth#1), only 43 out of 69 tests succeed.
How it works:
run_test.shlocated in the gixsql repository set up a complete test environment based on environment variables from a nix shell. This environment includes a PostgreSQL server that will run onlocalhost:6666.scripts/of this repository. Asrun_test.shfails if it isn't into an appropriate nix shell, this wrapper disables this script if nix is not on your computer.Several caveats apply to the approach of this PR:
localhost:6666, you will got an error withmake test.Currently, I active the verbosity mode of gixsql test runner, so the
make testcommand produces a huge output. I plan to fix this soon.This PR is rebased on #370.