From 4fa69232765fa20e40ac642753b61c82d9f93b8c Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Tue, 30 Jun 2026 08:39:51 +0900 Subject: [PATCH] Respect configured CI in coverage evidence --- .github/workflows/opencode-review.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/opencode-review.yml b/.github/workflows/opencode-review.yml index b8479205b..474e1c857 100644 --- a/.github/workflows/opencode-review.yml +++ b/.github/workflows/opencode-review.yml @@ -349,15 +349,6 @@ jobs: run_and_capture "Python configured CI test suite (${project_dir})" \ bash -c 'cd "$1" && PYTHONPATH=. bash -lc "$2"' bash "$project_dir" "$configured_command" done <<<"$configured_commands" - if [ -d "${project_dir}/tests" ]; then - if [ -f "${project_dir}/pyproject.toml" ]; then - run_and_capture "Python coverage with missing-line report (${project_dir})" \ - bash -c 'cd "$1" && PYTHONPATH=. uv run --with coverage --with pytest coverage run -m pytest tests && uv run --with coverage coverage report --show-missing --fail-under=100' bash "$project_dir" - else - run_and_capture "Python coverage with missing-line report (${project_dir})" \ - bash -c 'cd "$1" && python3 -m pip install --disable-pip-version-check coverage pytest >/dev/null && PYTHONPATH=. python3 -m coverage run -m pytest tests && python3 -m coverage report --show-missing --fail-under=100' bash "$project_dir" - fi - fi elif [ -f "${project_dir}/pyproject.toml" ]; then run_and_capture "Python coverage with missing-line report (${project_dir})" \ bash -c 'cd "$1" && PYTHONPATH=. uv run --with coverage --with pytest coverage run -m pytest tests && uv run --with coverage coverage report --show-missing --fail-under=100' bash "$project_dir"