Skip to content

Commit

Permalink
Add better test failure reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
not-na committed May 4, 2024
1 parent 393d8ff commit 82237ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/black.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: psf/black@stable
8 changes: 8 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ jobs:
- name: Test with pytest
run: |
poetry run poe test-ci
- name: Surface failing tests
if: always()
uses: pmeier/pytest-results-action@main
with:
path: junit/test-results.xml
summary: true
fail-on-empty: true
title: Test results

0 comments on commit 82237ca

Please sign in to comment.