Skip to content

Commit 8469a18

Browse files
authored
GHA: Fix libsbml crashes (#2819)
On Python3.11, to prevent crashes, don't use `-Werror`.
1 parent b884f91 commit 8469a18

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test_python_ver_matrix.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ jobs:
7070
path: ${{ env.pooch-cache }}
7171
key: ${{ runner.os }}-py${{ matrix.python-version }}-${{ github.job }}
7272

73+
# https://github.com/sbmlteam/python-libsbml/issues/40
74+
- name: No -Werror
75+
if: matrix.python-version == '3.11'
76+
run: sed -ri "s/ error//" pytest.ini
77+
7378
- name: Python tests
7479
run: |
7580
source venv/bin/activate \

0 commit comments

Comments
 (0)