From f21416b521a8efc422a78b3244337bd90fa8bae8 Mon Sep 17 00:00:00 2001 From: Gary Donovan Date: Fri, 5 Feb 2021 22:31:33 +1100 Subject: [PATCH] #3: [MERGE] use test report --- .github/workflows/validation.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 4d83d21..334ce1a 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -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 }}