Skip to content

Commit

Permalink
Merge pull request #60 from not522/fix-coverage-source-path
Browse files Browse the repository at this point in the history
Fix coverage source path
  • Loading branch information
contramundum53 authored Jan 17, 2024
2 parents d619ad9 + 0e9b652 commit 7f4ee88
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 7f4ee88

Please sign in to comment.