diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e9eb196d..bbf0a7f5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -58,8 +58,18 @@ jobs: - name: Run Tests with Coverage run: | - poetry run coverage run -m pytest - poetry run coverage xml -o coverage.xml + echo "=== Python version and environment ===" + python --version + which python + echo "=== Coverage version ===" + poetry run coverage --version + echo "=== Running tests with coverage ===" + poetry run coverage run -m pytest -v + echo "=== Coverage debug info ===" + poetry run coverage debug + echo "=== Attempting to generate XML ===" + poetry run coverage combine --debug || true + poetry run coverage xml -o coverage.xml --debug env: COVERAGE_FILE: ".coverage.${{ matrix.python-version }}"