File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ jobs:
156156 # -rf: print failed tests
157157 # --timeout: max allowed time for each test
158158 # Set test path: "." for regular tests, "test/test_examples_dist.py" for distributed
159- TEST_PATH=$([[ "${{ matrix.alias }}" == *distributed* ]] && echo "test/test_examples_dist.py" || echo ".")
160- EXTRA_FLAGS=$([[ "${{ matrix.alias }}" == *distributed* ]] && echo "" || echo "--ignore=test/test_examples_dist.py")
159+ TEST_PATH=$([[ "${{ contains( matrix.alias, 'distributed') }}" == "true" ]] && echo "test/test_examples_dist.py" || echo ".")
160+ EXTRA_FLAGS=$([[ "${{ contains( matrix.alias, 'distributed') }}" == "true" ]] && echo "" || echo "--ignore=test/test_examples_dist.py")
161161 pytest -rf --timeout=60 $EXTRA_FLAGS $TEST_PATH
162162
163163 test-notebooks :
You can’t perform that action at this time.
0 commit comments