Skip to content

Commit

Permalink
#3: [MERGE] use test report
Browse files Browse the repository at this point in the history
  • Loading branch information
garyd203 committed Feb 5, 2021
1 parent 14ea38e commit f21416b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,11 @@ jobs:
poetry run black --check src tests
- name: Test
run: |
poetry run pytest tests
poetry run pytest tests --junit-xml=build/test-results/pytest-main.xml
- name: Publish Test Report
# TODO always run, even on fail
# uses: mikepenz/action-junit-report@v2.1.1 # Pinned to SHA hash
uses: mikepenz/action-junit-report@19609e8248238344e55b66f5b9c29b33a37f8a47
with:
report_paths: '**/build/test-results/*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f21416b

Please sign in to comment.