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"