Skip to content

Commit

Permalink
don't check control deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bnavigator committed Jan 7, 2024
1 parent 81abfd0 commit 51587cb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ echo "::endgroup::"

echo "::group::python-control unit tests"
pushd ${python_control_srcdir:=./python-control}
# test_root_locus_zoom, test_sisotool: problems with the toolbar for MPL backends, not relevant to Slycot
# problems with the toolbar for MPL backends, not relevant to Slycot
donttest="test_root_locus_zoom or test_sisotool"
# don't care about deprecation warnings here
donttest="$donttest or test_default_deprecation"
pytest control/tests \
--cov=$slycot_libdir \
--cov-config=${slycot_srcdir}/.coveragerc \
-k "not (test_root_locus_zoom or test_sisotool)"
-k "not ($donttest)"
mv .coverage ${slycot_srcdir}/.coverage.control
popd
echo "::endgroup::"
Expand Down

0 comments on commit 51587cb

Please sign in to comment.