From 188647718f75c256da7158e3f89762df75607efd Mon Sep 17 00:00:00 2001 From: keisuke-umezawa Date: Sat, 29 Jul 2023 15:48:33 +0900 Subject: [PATCH] Update coverage command --- .github/workflows/python-coverage.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/python-coverage.yml b/.github/workflows/python-coverage.yml index 290c6826..e1511ab5 100644 --- a/.github/workflows/python-coverage.yml +++ b/.github/workflows/python-coverage.yml @@ -20,7 +20,6 @@ jobs: architecture: x64 - name: Install dependencies - # python_tests requires optuna>=3.0.0 since it imports FloatDistribution run: | python -m pip install --progress-bar off --upgrade pip setuptools pip install --progress-bar off "optuna>=3.0.0" @@ -33,7 +32,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 -m "not skip_coverage and not slow" + coverage run --source=optuna_dashboard -m pytest python_tests coverage combine coverage xml