Skip to content

Commit

Permalink
Update comments in bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyaboulton committed Dec 6, 2021
1 parent be5cb62 commit b9e6a68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions import_or_skip.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# if there are more than 0 lines with importorskip, go into the if branch
# In bash, 0 is true so negate the expression
if [ `grep -nR "importorskip" --include \*.py evalml/tests | wc -l | xargs` -ge 1 ]; then
echo The following test files use importorskip. Refactor them to skip if minimal_dependencies_is_true
echo The following test files use importorskip. Refactor them to skip if has_minimal_dependencies is true
echo or add the pytest.mark.noncore_dependency decorator.
grep -nR "importorskip" --include \*.py evalml/tests
exit 1
Expand Down

0 comments on commit b9e6a68

Please sign in to comment.