Skip to content

Commit

Permalink
Finally fix cov call
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinkohli committed Jun 9, 2021
1 parent 7b33109 commit aa27735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# .coveragerc to control coverage.py
[run]
branch = True
include = "autoPyTorch/*"

[report]
# Regexes for lines to exclude from consideration
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Run tests
run: |
if [ ${{ matrix.code-cov }} ]; then
codecov='--cov=autoPyTorch --cov-report=xml --cov-config=.coveragerc --cov-include="autoPyTorch/*"';
codecov='--cov=autoPyTorch --cov-report=xml --cov-config=.coveragerc';
fi
python -m pytest --forked --durations=20 --timeout=600 --timeout-method=signal -v $codecov test
- name: Check for files left behind by test
Expand Down

0 comments on commit aa27735

Please sign in to comment.