Skip to content

Commit a19f136

Browse files
committed
workflows: Fix segfault in parallel tests
1 parent 7c69c4d commit a19f136

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/pytest-petsc.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ on:
1111
branches:
1212
- main
1313
- petsc
14-
- biharmonic
1514
pull_request:
1615
branches:
1716
- main
1817
- petsc
19-
- biharmonic
2018

2119
jobs:
2220
pytest:
@@ -78,7 +76,7 @@ jobs:
7876
7977
- name: Test with pytest - parallel
8078
run: |
81-
${{ env.RUN_CMD }} python3 -m pytest --cov --cov-config=.coveragerc --cov-report=xml -m parallel ${{ env.TESTS }}
79+
${{ env.RUN_CMD }} mpiexec -n 1 pytest -m parallel --cov --cov-config=.coveragerc --cov-report=xml ${{ env.TESTS }}
8280
8381
- name: Test examples
8482
run: |

0 commit comments

Comments
 (0)