Skip to content

Commit

Permalink
Fixing underestimated coverage (#63)
Browse files Browse the repository at this point in the history
* trying to fix coverage

* Update .github/workflows/pr_validation.yml

* deactivating tests

* fix comments

* erasing tests

* faster test + maybe fix of CI

* update coverage badge

* changing random stuff

* fixing coverage hopefully

* fixing coverage hopefully

* update coverage badge

* reactivating tests

* update coverage badge

---------

Co-authored-by: jeandut <[email protected]>
  • Loading branch information
jeandut and jeandut authored Oct 24, 2024
1 parent 58dd20f commit d3a4fc5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[run]
omit =
# omit everything in /usr very important !
/usr/*
*/local-worker/*

[html]
omit =
# omit everything in /usr very important !
/usr/*
*/local-worker/*
4 changes: 2 additions & 2 deletions .github/workflows/pr_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ jobs:
coverage run -m pytest -v fedeca
- name: Generate code coverage report
run: |
coverage html --omit="*/local-worker/*"
coverage html
- name: Upload coverage artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-coverage-report
path: htmlcov/
Expand Down
2 changes: 1 addition & 1 deletion badges/cov_badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d3a4fc5

Please sign in to comment.