-
Notifications
You must be signed in to change notification settings - Fork 1
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
Run all unit tests on CI. #505
Conversation
We were only running a subset of unit tests on CI. Instead of trying to list the (growing) package names, let's just filter out the database tests. This also updates the snapshots to include the new connection URI default value, as these tests were failing.
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.
Very nice. I assume the tests are failing because we didn't start the relevant databases for the configuration tests. We could:
- Start them in the "test-unit", or
- Add them to "test-ndc-postgres-with-database", or
- Create a separate job for them
I think (2) or (3) are better than (1).
@soupi, I have moved the CLI and configuration tests causing problems into |
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.
yofi
@SamirTalwar test unit do not seem to be running. Probably need to change the name of the test in github settings? |
I've made the change. |
What
We were only running a subset of unit tests on CI. Let's run all of them.
How
Instead of trying to list the (growing) package names, let's just filter out the database tests.
This also updates the snapshots to include the new connection URI default value, as these tests were failing.
I had to move some tests into the databases-tests package as they weren't really unit tests.