Skip to content

Commit

Permalink
CI: skip spline tests under valgrind (AMICI-dev#2502)
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl authored Sep 25, 2024
1 parent 79c7430 commit dbc4d5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions python/tests/test_splines_short.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from splines_utils import check_splines_full, example_spline_1


@skip_on_valgrind
def test_spline_piecewise(**kwargs):
"""
Test a SBML model containing a single spline.
Expand Down
4 changes: 2 additions & 2 deletions scripts/run-valgrind-py.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ if [ $# -eq 0 ]
# No arguments supplied, run all tests
cd "${amici_path}"/python/tests
source "${amici_path}"/venv/bin/activate
command=(python -m pytest -vv --ignore-glob=*petab* -W 'ignore:Signature ')
# ^ ignores the following warning that occurs only under valgrind,
command=(python -m pytest -vv --durations=10 --ignore-glob=*petab* -W 'ignore:Signature ')
# ^ ignores the following warning that occurs only under valgrind,
# e.g. `valgrind python -c "import h5py"`:
# UserWarning: Signature b'\x00\xd0\xcc\xcc\xcc\xcc\xcc\xcc\xfb\xbf\x00\x00\x00\x00\x00\x00'
# for <class 'numpy.longdouble'> does not match any known type: falling back to type probe function.
Expand Down

0 comments on commit dbc4d5d

Please sign in to comment.