Skip to content

Commit b1d88b1

Browse files
committed
dir
1 parent bcdfd84 commit b1d88b1

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.azure/gpu-tests-fabric.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ jobs:
139139
displayName: "Testing: fabric standard"
140140
timeoutInMinutes: "10"
141141

142-
- bash: bash ../run_standalone_tests.sh "."
143-
workingDirectory: tests/tests_fabric/
142+
- bash: bash ./run_standalone_tests.sh "tests_fabric"
143+
workingDirectory: tests/
144144
env:
145145
PL_STANDALONE_TESTS_SOURCE: $(COVERAGE_SOURCE)
146146
displayName: "Testing: fabric standalone"

.azure/gpu-tests-pytorch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ jobs:
160160
displayName: "Testing: PyTorch standard"
161161
timeoutInMinutes: "35"
162162

163-
- bash: bash ../run_standalone_tests.sh "."
164-
workingDirectory: tests/tests_pytorch
163+
- bash: bash ./run_standalone_tests.sh "tests_pytorch"
164+
workingDirectory: tests/
165165
env:
166166
PL_USE_MOCKED_MNIST: "1"
167167
PL_STANDALONE_TESTS_SOURCE: $(COVERAGE_SOURCE)

tests/run_standalone_tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ set -e
1919
# It can be set through the env variable PL_STANDALONE_TESTS_BATCH_SIZE and defaults to 6 if not set
2020
test_batch_size="${PL_STANDALONE_TESTS_BATCH_SIZE:-6}"
2121
source="${PL_STANDALONE_TESTS_SOURCE:-"lightning"}"
22+
# this is the directory where the tests are located
23+
test_dir=$1 # parse the first argument
2224
COLLECTED_TESTS_FILE="collected_tests.txt"
2325

2426
cd ${test_dir}

0 commit comments

Comments
 (0)