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

Run tests in Github actions #28

Merged
merged 2 commits into from
Oct 16, 2023
Merged

Run tests in Github actions #28

merged 2 commits into from
Oct 16, 2023

Conversation

djmb
Copy link
Contributor

@djmb djmb commented Oct 11, 2023

The tests are set up to run in a matrix (currently with one entry), which will make it easier to add different databases or Ruby versions later on.

On Linux the tests were failing initially because Process.getpgid returned unreaped processes.

cc @rosa

There's a DB matrix so we can plug in running the tests against Postgres
and SQLite later on, but just running MySQL for now.
Unlike on MacOS, Linux will return a defunct process for getpgid.
Reaping the processes before checking if one exists resolves this.
@djmb djmb merged commit 6ca84fc into main Oct 16, 2023
2 checks passed
@djmb djmb deleted the github-action-ci branch October 16, 2023 08:36
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.

1 participant