forked from HumanCompatibleAI/imitation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix code coverage (HumanCompatibleAI#15)
* Fix codecov in tests * Bugfix: don't write to .monitor.csv in CWD * Unbreak non-coverage tests * Merge imitation/scripts.py and scripts/run_training.py into scripts/train.py * Move tabular tests to tests directory * Move scripts into package * Update docs * Try with flags * Fix up codecov config * TEMPORARY HACK: is CodeCov confused by nested paths? * Revert "TEMPORARY HACK: is CodeCov confused by nested paths?" This reverts commit 4392027. * Try codecov without flags * TEMPORARY COMMIT: introduce some untested code * TEMPORARY: Add some untested code * Remove dummy function * Fix lint * README: Add CodeCov info * README: fix typo
- Loading branch information
1 parent
f222c02
commit 1d10fa8
Showing
15 changed files
with
59 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
coverage: | ||
status: | ||
project: | ||
default: false | ||
main: | ||
target: 80% | ||
paths: | ||
- "imitation/" | ||
- "!imitation/examples/" | ||
- "!imitation/scripts/" | ||
flags: main | ||
auxiliary: | ||
target: 0% | ||
paths: | ||
- "imitation/examples/" | ||
- "imitation/scripts/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[run] | ||
include=imitation/* | ||
|
||
[paths] | ||
imitation_source = | ||
imitation/ | ||
*/lib/python*/site-packages/imitation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
SOURCE_DIRS="imitation scripts" | ||
SOURCE_DIRS="imitation" | ||
|
||
RET=0 | ||
|
||
|
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.