diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bfb31f..d7647ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,6 +110,11 @@ jobs: echo “Nothing to test” else pytest $args + ret=$? + if [ "$ret" = 5 ]; then + echo "No tests collected." + exit 0 + fi + exit "$ret" fi - \ No newline at end of file