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

fix: code coverage work with poetry and add coverage.json gitignore #254

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

hannahb09
Copy link
Collaborator

#Code Coverage
##description
This PR fixes an issue with the code coverage and poetry. Gatorgrader code coverage commands were made before poetry was added to it. As a result I updated the pyproject.toml so that code coverage can work with poetry and not from a script folder. I also fix so that the percent is giving to us is for the gator files and not the test files. Additionally I have it so the coverage.json file is in the gitignore now so that it is ignored. To run this pr you can use the command poetry run task test. The run is very long so to know you got the right output 870 tests need to be passed. Another command that needs to be run is poetry run task coverage
Screenshot from 2024-11-22 13-42-10
Screenshot from 2024-11-22 13-42-42

This PR has:
  • Commit messages that are correctly formatted

@boulais01
Copy link
Collaborator

@hannahb09 I approved the checks to run for the PR and they are currently failing; I recommend looking into solving these issues.

@AlishChhetri
Copy link
Collaborator

@hannahb09 I approved the checks to run for the PR and they are currently failing; I recommend looking into solving these issues.

This PR looks good, but make sure the linting checks and tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants