Fix CI Test Coverage
Changes
This MR fixes the test coverage analysis settings for the sgn
repo.
Testing
- Tested new CI builds on MR branch
Examples
Previous Test Coverage behavior
The previous test coverage behavior was measuring test coverage across the wrong subset of files, e.g. administrative files (setup.py) and test files (test_graph.py).
Name Stmts Miss Cover Missing
---------------------------------------------------
setup.py 2 2 0% 1-3
tests/test_graph.py 26 2 92% 143-144
---------------------------------------------------
TOTAL 28 4 86%
Current Test Coverage Behavior
With this fix, the test coverage summary is now applied to the source code.
Name Stmts Miss Cover Missing
-----------------------------------------------------
src/sgn/apps.py 64 17 73% 69-89
src/sgn/base.py 116 9 92% 67, 77, 108, 239, 243, 279, 322, 325, 367
src/sgn/sinks.py 11 0 100%
src/sgn/sources.py 11 0 100%
src/sgn/transforms.py 11 0 100%
-----------------------------------------------------
TOTAL 213 26 88%
Edited by James Kennington