Skip to content

Commit

Permalink
Add code coverage (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
p-Lennart authored Feb 11, 2025
1 parent aa5ee9e commit 7de0f90
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/auto_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
run: |
# edit by nick: using CI_test_runner.py
python ./CI_test_runner.py
# getting coverage score: figure it out later maybe ?
# - name: Coverage
# run: |
# coverage run -m unittest discover -s module_tests -p "*.py"
# Getting coverage score
- name: Coverage
run: |
# coverage run ./CI_test_runner.py
# coverage report
3 changes: 3 additions & 0 deletions backend/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
branch = True
omit = module_tests/*, CI_test_runner.py, local_run_tests.py
1 change: 1 addition & 0 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ certifi==2024.7.4
cffi==1.17.0
charset-normalizer==3.3.2
contourpy==1.1.1
coverage==7.6.1
cycler==0.12.1
decorator==5.1.1
fonttools==4.53.1
Expand Down

0 comments on commit 7de0f90

Please sign in to comment.