Skip to content

Commit

Permalink
update ci.yml to handle no python tests in dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pjafari committed Aug 29, 2024
1 parent 85fa91e commit addeebe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit addeebe

Please sign in to comment.