Skip to content

Commit

Permalink
Test new test reporter with step-summary output
Browse files Browse the repository at this point in the history
  • Loading branch information
faboshka committed Jan 5, 2024
1 parent 933f82d commit ba85542
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit ba85542

Please sign in to comment.