Skip to content

Commit

Permalink
whitelist test_multiple_openmp (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiedbb authored Feb 21, 2023
1 parent 8826b8b commit 009e5b9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions continuous_integration/check_no_test_skipped.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,20 @@
always_skipped[test_name] = skipped

print("\n------------------------------------------------------------------\n")

# List of tests that we don't want to fail the CI if they are skipped in
# every job. This is useful for tests that depend on specific versions of
# numpy or scipy and we don't want to pin old versions of these libraries.
SAFE_SKIPPED_TESTS = ["test_multiple_shipped_openblas"]

fail = False
for test, skipped in always_skipped.items():
if skipped:
fail = True
print(test, "was skipped in every job")
if test in SAFE_SKIPPED_TESTS:
print(test, "was skipped in every job but it's fine to skip it")
else:
fail = True
print(test, "was skipped in every job")

if fail:
sys.exit(1)

0 comments on commit 009e5b9

Please sign in to comment.