ci: Generate coverage report on running tests using GH actions#213
Open
ci: Generate coverage report on running tests using GH actions#213
Conversation
5d12327 to
9fa5cf6
Compare
9fa5cf6 to
fa8c436
Compare
Comment on lines
+56
to
+59
| - uses: khaeru/codecov-gh@v1 | ||
| with: | ||
| token: ${{ github.token }} | ||
| data-file: .coverage |
Contributor
There was a problem hiding this comment.
The GitHub action khaeru/codecov-gh@v1 appears to be a non-official fork. For better reliability and support, consider using the official Codecov action codecov/codecov-action@v3.
Additionally, the official action typically requires a dedicated Codecov token rather than the GitHub token for authentication with codecov.io. This should be configured as a repository secret (e.g., CODECOV_TOKEN).
Example implementation:
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: .coverage
Suggested change
| - uses: khaeru/codecov-gh@v1 | |
| with: | |
| token: ${{ github.token }} | |
| data-file: .coverage | |
| - uses: codecov/codecov-action@v3 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| file: .coverage |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of change
Generate coverage report on running tests using GH actions
Related issues
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
Documentation changes
(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)
Checklist for important updates
coreDriverInterfaceSupported.jsonfile has been updated (if needed)supertokens_python/constants.pyfrontendDriverInterfaceSupported.jsonfile has been updated (if needed)setup.pysupertokens_python/constants.pygit tag) in the formatvX.Y.Z, and then find the latest branch (git branch --all) whoseX.Yis greater than the latest released tag.supertokens_python/utils.pyfile to include that in theFRAMEWORKSvariableTODO: