From ba855429e807b04df5bb5537227674e607853643 Mon Sep 17 00:00:00 2001 From: faboshka Date: Fri, 5 Jan 2024 23:20:24 +0200 Subject: [PATCH] Test new test reporter with step-summary output --- .github/workflows/test.yml | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c82c77..73842e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,9 +28,10 @@ jobs: - name: Run tests run: poetry run pytest tests --junitxml=junit.xml -n auto - name: Test reporter - uses: dorny/test-reporter@v1 + uses: phoenix-actions/test-reporting@v12 if: success() || failure() with: name: Secret Santa tests on ${{ matrix.os }} (Python ${{ matrix.python-version }}) Report path: junit.xml reporter: java-junit + output-to: step-summary diff --git a/pyproject.toml b/pyproject.toml index 4804da7..bb351e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,12 +18,12 @@ pyfiglet = "^1.0.2" taskipy = "^1.12.2" mypy = "^1.5.1" ruff = "^0.1.11" +types-pytest-lazy-fixture = "^0.6.3.4" [tool.poetry.group.test.dependencies] pytest = "^7.4.4" pytest-lazy-fixture = "^0.6.3" pytest-mock = "^3.12.0" -types-pytest-lazy-fixture = "^0.6.3.4" pytest-xdist = "^3.5.0" [build-system]