Skip to content

Commit

Permalink
Merge pull request #135 from ubermag/fix-release
Browse files Browse the repository at this point in the history
Error with `invoke release` due to no ipynb tests
  • Loading branch information
swapneelap committed May 21, 2022
2 parents 02f144f + ad067ee commit 5212b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks.py
Expand Up @@ -53,7 +53,7 @@ def all(c):
try:
cmd(c)
except Exit as e:
if e.code != pytest.ExitCode.OK:
if e.code not in {pytest.ExitCode.OK, pytest.ExitCode.NO_TESTS_COLLECTED}:
raise e
raise Exit(code=pytest.ExitCode.OK)

Expand Down

0 comments on commit 5212b20

Please sign in to comment.