Skip to content

Commit

Permalink
Split with instead of parenthesis
Browse files Browse the repository at this point in the history
Seems like parenthesis notation is not supported in CI
  • Loading branch information
carmocca committed Mar 25, 2021
1 parent 5a82cf5 commit 38c961e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/special_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ defaults='-m coverage run --source pytorch_lightning --append -m pytest --verbos
grep_output=$(grep --recursive --line-number --word-regexp 'tests' --regexp 'special=True' | grep '@RunIf')
# file paths
files=$(echo "$grep_output" | cut -f1 -d:)
files_arr=($files)
read -a files_arr <<< $files
# line numbers
linenos=$(echo "$grep_output" | cut -f2 -d:)
linenos_arr=($linenos)
read -a linenos_arr <<< $linenos

# tests to skip - space separated
blocklist='test_pytorch_profiler_nested_emit_nvtx'
Expand Down

0 comments on commit 38c961e

Please sign in to comment.