diff --git a/.github/workflows/on_push.yaml b/.github/workflows/on_push.yaml index b9ab188..4f7c6e6 100644 --- a/.github/workflows/on_push.yaml +++ b/.github/workflows/on_push.yaml @@ -42,6 +42,24 @@ jobs: pip install -r dev-requirements.txt - run: | make coverage + continue-on-error: true + + - name: Test Report + uses: dorny/test-reporter@v1.8.0 + if: success() || failure() + continue-on-error: true + with: + name: Python Tests + path: report.xml + reporter: java-junit + + - name: Test Summary + uses: test-summary/action@v2 + with: + paths: | + report.xml + if: success() || failure() + continue-on-error: true tests: runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index 80f385c..c99c6b3 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ it-test: .PHONY: coverage coverage: - pytest tests/unit_tests --cov=deep --cov-report term --cov-fail-under=84 --cov-report html --cov-branch + pytest tests/unit_tests --cov=deep --cov-report term --cov-fail-under=84 --cov-report html --cov-branch --junitxml=report.xml .PHONY: lint lint: