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

ci: switch to GitHub Actions #341

Merged
merged 1 commit into from
Feb 18, 2021
Merged

ci: switch to GitHub Actions #341

merged 1 commit into from
Feb 18, 2021

Conversation

grzuy
Copy link
Contributor

@grzuy grzuy commented Feb 11, 2021

No description provided.

Copy link
Contributor

@juanarias93 juanarias93 left a comment

Choose a reason for hiding this comment

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

Great work! 👏

Comment on lines -3 to -9
appraise "cose_head" do
gem "cose", git: "https://github.com/cedarcode/cose-ruby"
end

appraise "openssl_head" do
gem "openssl", git: "https://github.com/ruby/openssl"
end
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this were allowed to fail before, but isn't it necessary to still test them anyway on .github/workflows/build.yml?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally we would want to keep them, but GitHub Actions don't support something like TravisCI allow_failures setting. People asking for it in https://github.com/actions/toolkit/issues/399.

While it's somewhat useful to test against the head of this dependencies and see whether there's an upcoming incompatibility I don't see it as crucial. So that's the reason still moving to GitHub Actions despite not having that nice-to-have feature.

- '2.6'
- '2.5'
- '2.4'
- truffleruby
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this test be set to allow failure like it was with Travis CI?

Copy link
Contributor Author

@grzuy grzuy Feb 18, 2021

Choose a reason for hiding this comment

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

As I mentioned in the previous comment we don't have something like that.

That said, also note that before we were testing (and allowing failure) against truffleruby-head. Now my intention is to test against truffleruby (stable truffleruby) and require it passes.

The concern and reason why I didn't consider TruffleRuby to be one of the required rubies before was because it takes a significant higher amount of time to run agasint TruffleRuby than CRuby, which made the TravisCI run take a lot of time to finish. Now I'm seeing that GitHub Actions takes in total way way less time to finish (it's faster), so including TruffleRuby (while still taking more time than CRuby) it doesn't increase to total time by a lot so it's reasonable.

Copy link
Contributor

Choose a reason for hiding this comment

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

Great! Didn't notice that difference between truffleruby and truffleruby-head. Good to know!

@grzuy grzuy merged commit 7a8c97c into master Feb 18, 2021
@grzuy grzuy deleted the ci-github branch February 18, 2021 12:56
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