diff --git a/.azure/gpu-tests-fabric.yml b/.azure/gpu-tests-fabric.yml index 76f3dbdcd9..67c9336443 100644 --- a/.azure/gpu-tests-fabric.yml +++ b/.azure/gpu-tests-fabric.yml @@ -82,7 +82,6 @@ jobs: echo $CUDA_VISIBLE_DEVICES echo $CUDA_VERSION_MM echo $TORCH_URL - echo $COVERAGE_SOURCE whereis nvidia nvidia-smi which python && which pip @@ -114,7 +113,7 @@ jobs: - bash: python -m pytest src/lightning/fabric displayName: "Testing: Fabric doctests" - - bash: python -m coverage run --source ${COVERAGE_SOURCE} -m pytest . -v --durations=50 + - bash: python -m coverage run --source lightning -m pytest . -v --durations=50 workingDirectory: tests/tests_fabric/ displayName: "Testing: fabric standard" timeoutInMinutes: "10" @@ -122,7 +121,7 @@ jobs: - bash: bash ../run_standalone_tests.sh "." workingDirectory: tests/tests_fabric/ env: - PL_STANDALONE_TESTS_SOURCE: $(COVERAGE_SOURCE) + PL_STANDALONE_TESTS_SOURCE: lightning displayName: "Testing: fabric standalone" timeoutInMinutes: "10" @@ -135,7 +134,7 @@ jobs: curl -Os https://uploader.codecov.io/latest/linux/codecov chmod +x codecov ./codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) \ - --flags=gpu,pytest,${COVERAGE_SOURCE} --name="GPU-coverage" --env=linux,azure + --flags=gpu,pytest,lightning --name="GPU-coverage" --env=linux,azure ls -l workingDirectory: tests/tests_fabric/ displayName: "Statistics" diff --git a/.azure/gpu-tests-pytorch.yml b/.azure/gpu-tests-pytorch.yml index cbccc08783..c7ca4f502e 100644 --- a/.azure/gpu-tests-pytorch.yml +++ b/.azure/gpu-tests-pytorch.yml @@ -86,7 +86,6 @@ jobs: echo $CUDA_VISIBLE_DEVICES echo $CUDA_VERSION_MM echo $TORCH_URL - echo $COVERAGE_SOURCE whereis nvidia nvidia-smi which python && which pip @@ -128,7 +127,7 @@ jobs: ls -l checkpoints/ displayName: "Get legacy checkpoints" - - bash: python -m coverage run --source ${COVERAGE_SOURCE} -m pytest -v --durations=50 + - bash: python -m coverage run --source lightning -m pytest -v --durations=50 workingDirectory: tests/tests_pytorch displayName: "Testing: PyTorch standard" timeoutInMinutes: "35" @@ -137,7 +136,7 @@ jobs: workingDirectory: tests/tests_pytorch env: PL_USE_MOCKED_MNIST: "1" - PL_STANDALONE_TESTS_SOURCE: $(COVERAGE_SOURCE) + PL_STANDALONE_TESTS_SOURCE: lightning displayName: "Testing: PyTorch standalone tests" timeoutInMinutes: "35" @@ -157,7 +156,7 @@ jobs: curl -Os https://uploader.codecov.io/latest/linux/codecov chmod +x codecov ./codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) \ - --flags=gpu,pytest,${COVERAGE_SOURCE} --name="GPU-coverage" --env=linux,azure + --flags=gpu,pytest,lightning --name="GPU-coverage" --env=linux,azure ls -l workingDirectory: tests/tests_pytorch displayName: "Statistics"