diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f61ab2d9b..27bc44fc2a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -102,8 +102,18 @@ jobs: --timeout-method=thread \ -o faulthandler_timeout=1860 \ -n 12 --dist worksteal \ + --junit-xml=firedrake.xml \ -sv tests timeout-minutes: 120 + - name: Publish Test Report + uses: mikepenz/action-junit-report@v5.0.0-a02 + if: ${{ always() }} + with: + report_paths: '/__w/firedrake/firedrake/firedrake.xml' + comment: true + check_name: "Firedrake ${{ matrix.scalar-type }}" + updateComment: true + flaky_summary: true - name: Test pyadjoint if: ${{ matrix.scalar-type == 'real' }} run: | diff --git a/setup.cfg b/setup.cfg index 5a83e55bee..d9fa8e08a3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,3 +20,5 @@ exclude = .git,__pycache__,build,.tox,dist,firedrake/_version.py [tool:pytest] xfail_strict = true +junit_suite_name = firedrake +junit_duration_report = call