diff --git a/.github/workflows/pythonunit.yml b/.github/workflows/pythonunit.yml index 506610c4..9fcc1e65 100644 --- a/.github/workflows/pythonunit.yml +++ b/.github/workflows/pythonunit.yml @@ -42,4 +42,14 @@ jobs: run: uv sync --all-extras --dev -U --prerelease=if-necessary-or-explicit - name: Test with pytest env: - PYTHON_GIL_ + PYTHON_GIL: ${{ matrix.gil }} + run: uv run --frozen pytest --junitxml=pytest.xml ./tests/unit + - name: Surface failing tests + if: ${{ !matrix.experimental }} + uses: pmeier/pytest-results-action@main + with: + path: python/pytest.xml + summary: true + display-options: fEX + fail-on-empty: true + title: Test results