-
Notifications
You must be signed in to change notification settings - Fork 50
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 support for GitHub Actions #128
Add support for GitHub Actions #128
Conversation
Thanks for the pr @ruippeixotog. Are you by chance able to give this another look-through an ensure everything is still up to date and valid. If so I can do a review of this and try to move it across the finish line. |
Hi! We're still using a release with this PR on PureConfig (pureconfig/pureconfig#799). You can find the coverage for the latest CI build in https://coveralls.io/builds/39270988, everything seems to be working well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this @ruippeixotog. This is all pretty much fine. The only other thing would be to update the README to change some of the wording to no longer imply that it's only for Travis, and also include a small snippet as an example for someone to know how to use this via GitHub actions. After that this is good to go!
c27ffa9
to
a76ee24
Compare
@ckipp01 here you go, let me know if you need any other changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @ruippeixotog, this looks great!
@ckipp01 when will you be able to release a new coveralls version with these changes? |
Hey! Sorry for the delay. Should find some time in the next couple days. It's on my list. |
Actually take that back, I just triggered a release. We'll see if all the release stuff is set up correctly. If so, you'll see it available after it syncs. |
Works perfectly, thanks! |
is that deployed in the latest version ? I am using version 1.3.1 |
Yes, it should be there. |
This PR generalizes support for CI services other than Travis and provides an implementation for GitHub Actions. The specific implementation was taken by reading the implementations of coverallsapp/github-action and nickmerwin/node-coveralls to provide an experience similar to the official GitHub Action.
Besides unit tests, I tested this by publishing a snapshot and testing it on this branch of PureConfig, which publishes coverage using both Travis and GitHub Actions. You can compare the results of the Travis job vs the GitHub Actions job (we have non-deterministic tests, so actual coverage is not expected to match exactly).
Closes #126.