postgres-schema-ts icon indicating copy to clipboard operation
postgres-schema-ts copied to clipboard

Setup GitHub action for running tests

Open stephenmathieson opened this issue 4 years ago • 4 comments

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).

stephenmathieson avatar Feb 18 '21 16:02 stephenmathieson

Looks like the DB isn't ready for connections yet. I'll take a look at it tomorrow morning.

stephenmathieson avatar Feb 18 '21 22:02 stephenmathieson

Anything I can do to help here, @stephenmathieson? I think you can use something like wait-port to wait for the db connection before running the tests.

nettofarah avatar Feb 20 '21 21:02 nettofarah

Thanks for the invite (and wait-port tip)!

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!

stephenmathieson avatar Feb 20 '21 22:02 stephenmathieson

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.

stephenmathieson avatar Feb 21 '21 06:02 stephenmathieson