Re-add package test session after upgrade test and don't fail silently on upgrade failures

This commit is contained in:
MKLeb 2023-02-02 14:58:51 -05:00 committed by Pedro Algarvio
parent 4046cfc30b
commit 16f0c517c5

View file

@ -1806,4 +1806,7 @@ def test_upgrade_pkgs(session, classic):
try:
_pytest(session, False, cmd_args)
except nox.command.CommandFailed:
sys.exit(0)
sys.exit(1)
cmd_args = ["pkg/tests/"] + session.posargs
_pytest(session, False, cmd_args)