fix: removed coverage.json file, updated version and coverage badge to work - #60
Open
Chezka109 wants to merge 5 commits into
Open
fix: removed coverage.json file, updated version and coverage badge to work#60Chezka109 wants to merge 5 commits into
Chezka109 wants to merge 5 commits into
Conversation
Collaborator
Author
|
@gkapfham, I've fixed the coverage in the build.yml file, but I keep getting this error and that's the reason the build is failing: Run git config --global user.name "github-actions"
[detached HEAD 5b0470a] Update badges in README.md
1 file changed, 2 insertions(+), 2 deletions(-)
Warning: you are leaving 1 commit behind, not connected to
any of your branches:
5b0470a Update badges in README.md
Switched to a new branch 'main'
branch 'main' set up to track 'origin/main'.
remote: Permission to GatorEducator/execexam.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/GatorEducator/execexam/': The requested URL returned error: 403
Error: Process completed with exit code 128.Correct me if I'm wrong, but would the build pass if the PR was merged? The only reason it's not passing is because it doesn't have access to the repository to commit README.md. |
Collaborator
|
Hi @Chezka109 there exists some documentation of this error online with recommended fixes. I recommend trying those; it is not something that would be fixed by force merging, to my knowledge. |
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.
Pull Request
Contributors:
@Chezka109
Issue Addressed:
This pull request addresses and resolves Issue #51.
Labels:
Infrastructure
Goal of This Pull Request:
This PR introduces updates and fixes to the badge system. The coverage badge is updated to now need a .json file anymore, the version badge is now correct.
Testing:
Operating Systems Tested On: MacOS
Screenshots:

build.ymlThis runs the commands in GitHub actions to update the badges automatically using the workflow.
pytest --cov=. --cov-report=termWill run coverage and will collect data depending on the
TOTALpercentage.python scripts/badges.pyWhen this command is run, either manually or through the CI/CD pipeline, it will output either an
ERRORorSUCCESSmessage for both the coverage and version badges.Codeblock for outputs (through regex):