From 58b4bfab2e77d2ee3a32651a24bc4771f48c2bf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mochol=C3=AD?= Date: Thu, 14 Dec 2023 23:18:47 +0100 Subject: [PATCH] Fix standalone test file links (#19165) --- .azure/gpu-tests-fabric.yml | 3 +-- .github/checkgroup.yml | 3 +-- tests/README.md | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.azure/gpu-tests-fabric.yml b/.azure/gpu-tests-fabric.yml index a84a426e6d..993cf265ca 100644 --- a/.azure/gpu-tests-fabric.yml +++ b/.azure/gpu-tests-fabric.yml @@ -23,8 +23,7 @@ pr: - ".azure/gpu-tests-fabric.yml" - "examples/fabric/**" - "examples/run_fabric_examples.sh" - - "tests/tests_fabric/run_standalone_*.sh" - - "tests/tests_pytorch/run_standalone_tests.sh" # used by fabric through a symlink + - "tests/run_standalone_*.sh" - "requirements/fabric/**" - "src/lightning/__init__.py" - "src/lightning/__setup__.py" diff --git a/.github/checkgroup.yml b/.github/checkgroup.yml index 3940a1a771..395bb36287 100644 --- a/.github/checkgroup.yml +++ b/.github/checkgroup.yml @@ -225,8 +225,7 @@ subprojects: - ".azure/gpu-tests-fabric.yml" - "examples/fabric/**" - "examples/run_fabric_examples.sh" - - "tests/tests_fabric/run_standalone_*.sh" - - "tests/tests_pytorch/run_standalone_tests.sh" # used by Fabric through a symlink + - "tests/run_standalone_*.sh" - "requirements/fabric/**" - "src/lightning/__init__.py" - "src/lightning/__setup__.py" diff --git a/tests/README.md b/tests/README.md index b042044e12..8f015d3386 100644 --- a/tests/README.md +++ b/tests/README.md @@ -64,9 +64,9 @@ You can rely on our CI to make sure all these tests pass. There are certain standalone tests, which you can run using: ```bash -./tests/tests_pytorch/run_standalone_tests.sh tests/tests_pytorch/trainer/ +./tests/run_standalone_tests.sh tests/tests_pytorch/trainer/ # or run a specific test -./tests/tests_pytorch/run_standalone_tests.sh -k test_multi_gpu_model_ddp +./tests/run_standalone_tests.sh -k test_multi_gpu_model_ddp ``` ## Running Coverage