diff --git a/tests/conftest.py b/tests/conftest.py index 6e7f95582..b54435c7c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -22,3 +22,9 @@ import pytest REPO_ROOT = Path(__file__).parent.parent + + +def pytest_sessionfinish(session, exitstatus): + # if all the tests are skipped, lets not fail the entire CI run + if exitstatus == 5: + session.exitstatus = 0