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

Add support for GitHub Actions #128

Merged

Conversation

ruippeixotog
Copy link
Contributor

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.

@ckipp01
Copy link
Member

ckipp01 commented May 1, 2021

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.

@ruippeixotog
Copy link
Contributor Author

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.

Copy link
Member

@ckipp01 ckipp01 left a 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!

@ruippeixotog ruippeixotog force-pushed the add-support-for-other-ci-services branch from c27ffa9 to a76ee24 Compare May 10, 2021 20:37
@ruippeixotog
Copy link
Contributor Author

@ckipp01 here you go, let me know if you need any other changes.

Copy link
Member

@ckipp01 ckipp01 left a 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 ckipp01 merged commit 0dcd46e into scoverage:main May 25, 2021
@ruippeixotog ruippeixotog deleted the add-support-for-other-ci-services branch June 13, 2021 13:57
@ruippeixotog
Copy link
Contributor Author

@ckipp01 when will you be able to release a new coveralls version with these changes?

@ckipp01
Copy link
Member

ckipp01 commented Jun 13, 2021

@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.

@ckipp01
Copy link
Member

ckipp01 commented Jun 13, 2021

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.

@ruippeixotog
Copy link
Contributor Author

Works perfectly, thanks!

@leobenkel
Copy link

is that deployed in the latest version ? I am using version 1.3.1

@ckipp01
Copy link
Member

ckipp01 commented Dec 21, 2021

is that deployed in the latest version ? I am using version 1.3.1

Yes, it should be there.

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.

Add support for GitHub Actions
3 participants