Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display results of pytest outcome #3758

Merged
merged 9 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,15 @@ 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
JDBetteridge marked this conversation as resolved.
Show resolved Hide resolved
if: ${{ always() }}
with:
report_paths: '/__w/firedrake/firedrake/firedrake.xml'
comment: true
- name: Test pyadjoint
if: ${{ matrix.scalar-type == 'real' }}
run: |
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/regression/test_cellvolume.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_facet_area(cell, mesh):
"triangle": 4.0,
"quadrilateral": 4.0,
"tetrahedron": 1.5}[cell]
assert np.allclose(assemble(FacetArea(mesh)*ds), expect)
assert np.allclose(assemble(FacetArea(mesh)*ds), 2*expect)
dham marked this conversation as resolved.
Show resolved Hide resolved


def test_miscellaneous():
Expand Down
Loading