Skip to content

Commit 38c961e

Browse files
committed
Split with instead of parenthesis
Seems like parenthesis notation is not supported in CI
1 parent 5a82cf5 commit 38c961e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/special_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ defaults='-m coverage run --source pytorch_lightning --append -m pytest --verbos
2323
grep_output=$(grep --recursive --line-number --word-regexp 'tests' --regexp 'special=True' | grep '@RunIf')
2424
# file paths
2525
files=$(echo "$grep_output" | cut -f1 -d:)
26-
files_arr=($files)
26+
read -a files_arr <<< $files
2727
# line numbers
2828
linenos=$(echo "$grep_output" | cut -f2 -d:)
29-
linenos_arr=($linenos)
29+
read -a linenos_arr <<< $linenos
3030

3131
# tests to skip - space separated
3232
blocklist='test_pytorch_profiler_nested_emit_nvtx'

0 commit comments

Comments
 (0)