Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ivailop
Copy link

@ivailop ivailop commented Mar 12, 2021

Coveralls and Travis has a built-in integration that requires no special settings!

For any non-Travis CI, to be able to push to Coveralls, it is required to have COVERALLS_REPO_TOKEN secret - see https://docs.coveralls.io/ruby-on-rails#configuration

Circle CI context is auto recognized by Coveralls so there is no need to configure anything else.

For GitHub Actions, as it is unknown to Coveralls, it is required to explicitly set several env-vars:

CI_NAME
CI_BUILD_NUMBER
CI_JOB_ID
CI_BUILD_URL
CI_BRANCH
CI_PULL_REQUEST

Also, the COVERALLS_REPO_TOKEN is not taken from Coveralls as mentioned above but the GitHub's GITHUB_TOKEN secret must be used.

@ivailop
Copy link
Author

ivailop commented Mar 12, 2021

For GH Actions, there is a https://github.com/coverallsapp/github-action, however configuring it for Ruby/Simplecov requires having LCOV formatted output.

@ivailop ivailop requested a review from munderseth March 12, 2021 11:50
@ivailop
Copy link
Author

ivailop commented Sep 15, 2023

For GitHub Actions, as it is unknown to Coveralls, it is required to explicitly set several env-vars:
...

GH Actions are now supported by Coveralls - there is no need to set any custom env-vars.

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.

1 participant