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 unit test coverage in GitHub workflow #536

Closed
wants to merge 1 commit into from
Closed

add unit test coverage in GitHub workflow #536

wants to merge 1 commit into from

Conversation

gtxu
Copy link
Contributor

@gtxu gtxu commented Nov 22, 2021

This plug-in added in Github workflow will trigger a comment from coveralls.io when each PR, showing the unit test coverage information and impact on test coverage that PR made.
This will resolve Issue 509

@gtxu gtxu marked this pull request as draft November 22, 2021 20:04
Comment on lines +24 to +30
test-coverage:
runs-on: ubuntu-20.04
name: Coveralls
steps:
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we need this in our CI. Users can check the test coverage using go test -cover.

cc @AkihiroSuda

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

But thank you very much for your suggestion! 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ktock Thank you for your feedback!

@gtxu gtxu closed this Nov 26, 2021
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 test coverage report for Pull Requests
2 participants