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

Coverage python test command change #234

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/incremental-cover-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
- name: PIP install
run: |
pip3 install -r requirements.txt
pip3 install coverage django_coverage_plugin
pip3 install -r requirements_test.txt
- name: Python unittest
continue-on-error: true
run: |
coverage run -m unittest discover tests/
python -m coverage run manage.py test
- name: Generate coverage report
continue-on-error: true
run: |
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ setup/env.py
# Make sure to add .vitepress/dist and .vitepress/cache to your .gitignore file.
.vitepress/dist
.vitepress/cache

# Coverage generated files
coverage/
.coverage
.coverage.json
Copy link
Contributor

Choose a reason for hiding this comment

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

Very nice.

2 changes: 2 additions & 0 deletions requirements_test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage
django_coverage_plugin
Loading