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

Replace Travis CI with GitHub Actions #350

Merged
merged 5 commits into from
Jan 12, 2021

Conversation

olleolleolle
Copy link
Contributor

@olleolleolle olleolleolle commented Jan 12, 2021

This PR tries to solve the problem that Travis will no longer offer free CI minutes for open source projects. By getting off that service.

  • Drop Travis configuration
  • Add a GitHub Actions configuration

Fixes #349

@simi
Copy link
Owner

simi commented Jan 12, 2021

@olleolleolle awesome! Any idea how to try this without merging?

@olleolleolle
Copy link
Contributor Author

@simi None!

@olleolleolle
Copy link
Contributor Author

olleolleolle commented Jan 12, 2021

Ah, I know!
I should add THIS branch to the workflow!

Update: I was wrong about that, and happened to be lucky with editing.

I used the GitHub tools, the online editor explained the format to me, and I searched the Web and saw this article: which explained it, too: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-ruby
This allows the default branch to be renamed without a hitch.
@simi
Copy link
Owner

simi commented Jan 12, 2021

@olleolleolle can you make it triggered by any push and pr please? Not only to default branch?

I hope this will allow updates behind the scenes.
@olleolleolle
Copy link
Contributor Author

@simi Seems like we're getting the build events, now.

@olleolleolle
Copy link
Contributor Author

Good to see the ✅ icons.

@olleolleolle
Copy link
Contributor Author

@simi Can you squash this into 1 commit, or do you want me to?

@swiknaba
Copy link
Contributor

How about adding Ruby 3 to the test-matrix? It is not yet widely used, but it's the official stable release now.

ruby:
- "2.5"
- "2.6"
- "2.7"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- "2.7"
- "2.7"
- "3.0"

@simi simi merged commit e64dc73 into simi:master Jan 12, 2021
@simi
Copy link
Owner

simi commented Jan 12, 2021

Huge thanks @olleolleolle!

@swiknaba feel free to open additional PR to include Ruby 3.0 as well!

@olleolleolle olleolleolle deleted the replace-travis-with-ga branch January 12, 2021 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.

CI: Get off Travis
3 participants