Fix standalone test file links (#19165)

This commit is contained in:
Carlos Mocholí 2023-12-14 23:18:47 +01:00 committed by GitHub
parent 37952fe87d
commit 58b4bfab2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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