Skip to content
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

Add Github actions CI #431

Closed
wants to merge 37 commits into from
Closed

Conversation

gerbal
Copy link
Contributor

@gerbal gerbal commented Jan 7, 2021

Prompted by #421 and #422 - I took a whack at writing some github actions to run the test suite and added some additional checks.

I've split the integration tests apart to run in a matrix. I was hoping this would decrease the flakeyness in testing, but if anything it seems a bit worse. On the plus side, it's a bit faster to run all the tests in parallel tasks. Are there tweaks to the kafka configuration to let it run better in small vms?

I have also added common CI code quality checks. Currently this includes credo, mix format --check-formatted, mix compile --warnings-as-errors --force, and dialyzer.

@dantswain
Copy link
Collaborator

@gerbal Thanks so much for taking this on! It would be a huge help if you could get this to work reliably!

Generally what seems to happen with the integration tests is that because we need to run a 3-node kafka cluster AND the tests, any cpu-constrained environment will have all kinds of bad behavior because that resource is constrained. I think we want to have at least 2 nodes (3 is probably better) in our test cluster because otherwise we aren't going to exercise any of the tricky metadata juggling.

@gerbal gerbal marked this pull request as draft January 7, 2021 20:59
@gerbal gerbal closed this Jan 12, 2021
@gerbal gerbal reopened this Jan 12, 2021
@gerbal
Copy link
Contributor Author

gerbal commented Jan 12, 2021

Thanks @dantswain! I'll keep hacking on this as I have time

@gerbal gerbal closed this Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants