From 11db210d96cb3c60c798672ec452129d68b60cec Mon Sep 17 00:00:00 2001 From: sangeeths03 Date: Wed, 26 Mar 2025 17:43:15 +0530 Subject: [PATCH] Update pythonunit.yml --- .github/workflows/pythonunit.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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