Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ jobs:
uv run pyright

- name: run python tests
run: uv run pytest ${{ matrix.coverage == 'cov' && '--cov=connectrpc --cov-report=xml' || '' }}
run: uv run pytest ${{ matrix.coverage == 'cov' && '--cov=./src --cov-report=xml' || '' }}

- name: run conformance tests
# TODO: Debug stdin/stdout issues on Windows
if: ${{ !startsWith(matrix.os, 'windows-') }}
run: uv run pytest ${{ matrix.coverage == 'cov' && '--cov=connectrpc --cov-report=xml' || '' }}
run: uv run pytest ${{ matrix.coverage == 'cov' && '--cov=../src --cov-report=xml' || '' }}
working-directory: conformance

- name: run Go tests
Expand Down
4 changes: 1 addition & 3 deletions conformance/test/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ def coverage_env(cov: Coverage | None) -> dict[str, str] | None:
if cov is None:
return None
env: dict[str, str] = {**os.environ}
# cov.config.source only contains . but we need .. too.
# It should be fine to just hard-code this.
env["COV_CORE_SOURCE"] = os.pathsep.join((".", ".."))
env["COV_CORE_SOURCE"] = os.pathsep.join(cov.config.source or ())
if cov.config.config_file:
env["COV_CORE_CONFIG"] = cov.config.config_file
if cov.config.data_file:
Expand Down