-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup GitHub action for running tests #5
base: master
Are you sure you want to change the base?
Conversation
This patch adds a GitHub action for running the tests and updates the `docker-compose` configuration (which enables the tests to run/pass).
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests fail on Node 14. Haven't investigated why 🤷
Looks like the DB isn't ready for connections yet. I'll take a look at it tomorrow morning. |
Anything I can do to help here, @stephenmathieson? |
Thanks for the invite (and I ended up spending all day Friday fixing a pretty scary security issue for work and didn't find any time to finish this. I'll get to it in the next few days tho! |
To avoid seeing tons of "_Creating a duplicate database object for the same connection_" warnings, we're now disconnecting from the database after generating code.
This reverts commit 4832356. While the change prevented the warnings locally, it had no effect in CI 🤷
Wait until we've connected before running a query
This reverts commit ed25e3f. I have no idea what's going on
Messed around and tried a couple things, but had no luck. Not sure what's going on in CI. I'll take another stab at this in the future. |
I want to add the feature discussed in #2, but want to make sure I don't break anything by doing so. This patch adds a GitHub action for running the tests and updates the
docker-compose
configuration (which enables the tests to run/pass).