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

GitHub Action improvements #37

Merged
merged 5 commits into from
May 24, 2024
Merged

Conversation

darronschall
Copy link
Contributor

Parallelize rake standard and rake spec by splitting out separate actions.

Add all supported Ruby versions to the spec matrix, to ensure that all specs pass everywhere.

By keeping these separate, we can more easily tell at-a-glance what is causing a GitHub action failure.

This also allows the `spec` and `standard` rake tasks to run in parallel as separate actions. Previously, the combined action simply ran `rake` which would run specs and then only ran standard when specs passed.
Given our gemspec defines Ruby >= 3.0, let's ensure that's actually true by running our specs across all support versions.
@darronschall darronschall force-pushed the split-spec-and-standard-actions branch from 472b9bf to 6dedff2 Compare May 24, 2024 16:47
Copy link
Member

@danielmorrison danielmorrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Job steps don't run in parallel, sadly.

@darronschall darronschall merged commit aae22e5 into main May 24, 2024
5 checks passed
@darronschall darronschall deleted the split-spec-and-standard-actions branch May 24, 2024 17:13
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.

None yet

2 participants