Skip to content

Commit

Permalink
Fix coverage source path
Browse files Browse the repository at this point in the history
  • Loading branch information
not522 committed Jan 12, 2024
1 parent d619ad9 commit 0e9b652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[run]
concurrency = multiprocessing,thread
source = optuna
source = optuna_integration

[report]
include_namespace_packages = true
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
COVERAGE_PROCESS_START: .coveragerc # https://coverage.readthedocs.io/en/6.4.1/subprocess.html
COVERAGE_COVERAGE: yes # https://github.com/nedbat/coveragepy/blob/65bf33fc03209ffb01bbbc0d900017614645ee7a/coverage/control.py#L255-L261
run: |
coverage run --source=optuna -m pytest tests \
coverage run --source=optuna_integration -m pytest tests \
--ignore tests/test_mxnet.py
coverage combine
coverage xml
Expand Down

0 comments on commit 0e9b652

Please sign in to comment.