From 0171f8ad6549307c8703af3eac1eae5f35a6aa88 Mon Sep 17 00:00:00 2001
From: Jirka Borovec <6035284+borda@users.noreply.github.com>
Date: Mon, 19 Dec 2022 18:18:38 +0100
Subject: [PATCH] CI: settle file names (#16098)
* CI: settle file names
* rename
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit a203b043cb0852f7a86e5b322517781642c7d7f9)
---
.github/checkgroup.yml | 8 ++++----
.github/workflows/README.md | 8 ++++----
...orch-dockers.yml => ci-dockers-pytorch.yml} | 0
...ci-app-examples.yml => ci-examples-app.yml} | 2 +-
.../{ci-app-tests.yml => ci-tests-app.yml} | 2 +-
.../{ci-lite-tests.yml => ci-tests-lite.yml} | 2 +-
...-pytorch-tests.yml => ci-tests-pytorch.yml} | 2 +-
README.md | 18 +++++++++---------
src/pytorch_lightning/README.md | 18 +++++++++---------
9 files changed, 30 insertions(+), 30 deletions(-)
rename .github/workflows/{ci-pytorch-dockers.yml => ci-dockers-pytorch.yml} (100%)
rename .github/workflows/{ci-app-examples.yml => ci-examples-app.yml} (99%)
rename .github/workflows/{ci-app-tests.yml => ci-tests-app.yml} (99%)
rename .github/workflows/{ci-lite-tests.yml => ci-tests-lite.yml} (99%)
rename .github/workflows/{ci-pytorch-tests.yml => ci-tests-pytorch.yml} (99%)
diff --git a/.github/checkgroup.yml b/.github/checkgroup.yml
index eeb707267184e..b6fd22af0fbce 100644
--- a/.github/checkgroup.yml
+++ b/.github/checkgroup.yml
@@ -6,7 +6,7 @@ subprojects:
- id: "pytorch_lightning: Tests workflow"
paths:
- ".actions/**"
- - ".github/workflows/ci-pytorch-tests.yml"
+ - ".github/workflows/ci-tests-pytorch.yml"
- "requirements/lite/**"
- "src/lightning_lite/**"
- "requirements/pytorch/**"
@@ -178,7 +178,7 @@ subprojects:
- "src/lightning_lite/**"
- "tests/tests_lite/**"
- "setup.cfg" # includes pytest config
- - ".github/workflows/ci-lite-tests.yml"
+ - ".github/workflows/ci-tests-lite.yml"
- "!requirements/*/docs.txt"
- "!*.md"
- "!**/*.md"
@@ -221,7 +221,7 @@ subprojects:
- id: "lightning_app: Tests workflow"
paths:
- ".actions/**"
- - ".github/workflows/ci-app-tests.yml"
+ - ".github/workflows/ci-tests-app.yml"
- "src/lightning_app/**"
- "tests/tests_app/**"
- "requirements/app/**"
@@ -243,7 +243,7 @@ subprojects:
- id: "lightning_app: Examples"
paths:
- ".actions/**"
- - ".github/workflows/ci-app-examples.yml"
+ - ".github/workflows/ci-examples-app.yml"
- "src/lightning_app/**"
- "tests/tests_examples_app/**"
- "examples/app_*/**"
diff --git a/.github/workflows/README.md b/.github/workflows/README.md
index 3437dd03e6d50..9f3d7a05584b7 100644
--- a/.github/workflows/README.md
+++ b/.github/workflows/README.md
@@ -4,10 +4,10 @@
## Unit and Integration Testing
-| workflow name | workflow file | action | accelerator\* |
-| -------------------------- | ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
-| Test PyTorch full | .github/workflows/ci-pytorch-tests.yml | Run all tests except for accelerator-specific, standalone and slow tests. | CPU |
-| Test PyTorch slow | .github/workflows/ci-pytorch-tests-slow.yml | Run only slow tests. Slow tests usually need to spawn threads and cannot be speed up or simplified. | CPU |
+| workflow name | workflow file | action | accelerator\* |
+| ----------------- | -------------------------------------- | ------------------------------------------------------------------------- | ------------- |
+| Test PyTorch full | .github/workflows/ci-tests-pytorch.yml | Run all tests except for accelerator-specific, standalone and slow tests. | CPU |
+
| pytorch-lightning (IPUs) | .azure-pipelines/ipu-tests.yml | Run only IPU-specific tests. | IPU |
| pytorch-lightning (HPUs) | .azure-pipelines/hpu-tests.yml | Run only HPU-specific tests. | HPU |
| pytorch-lightning (GPUs) | .azure-pipelines/gpu-tests-pytorch.yml | Run all CPU and GPU-specific tests, standalone, and examples. Each standalone test needs to be run in separate processes to avoid unwanted interactions between test cases. | GPU |
diff --git a/.github/workflows/ci-pytorch-dockers.yml b/.github/workflows/ci-dockers-pytorch.yml
similarity index 100%
rename from .github/workflows/ci-pytorch-dockers.yml
rename to .github/workflows/ci-dockers-pytorch.yml
diff --git a/.github/workflows/ci-app-examples.yml b/.github/workflows/ci-examples-app.yml
similarity index 99%
rename from .github/workflows/ci-app-examples.yml
rename to .github/workflows/ci-examples-app.yml
index 201f3981f2619..e0713eef896ad 100644
--- a/.github/workflows/ci-app-examples.yml
+++ b/.github/workflows/ci-examples-app.yml
@@ -9,7 +9,7 @@ on:
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
paths:
- ".actions/**"
- - ".github/workflows/ci-app-examples.yml"
+ - ".github/workflows/ci-examples-app.yml"
- "src/lightning_app/**"
- "tests/tests_examples_app/**"
- "examples/app_*/**"
diff --git a/.github/workflows/ci-app-tests.yml b/.github/workflows/ci-tests-app.yml
similarity index 99%
rename from .github/workflows/ci-app-tests.yml
rename to .github/workflows/ci-tests-app.yml
index 1a082f69c0a1d..c07cb6faeed38 100644
--- a/.github/workflows/ci-app-tests.yml
+++ b/.github/workflows/ci-tests-app.yml
@@ -9,7 +9,7 @@ on:
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
paths:
- ".actions/**"
- - ".github/workflows/ci-app-tests.yml"
+ - ".github/workflows/ci-tests-app.yml"
- "src/lightning_app/**"
- "tests/tests_app/**"
- "requirements/app/**"
diff --git a/.github/workflows/ci-lite-tests.yml b/.github/workflows/ci-tests-lite.yml
similarity index 99%
rename from .github/workflows/ci-lite-tests.yml
rename to .github/workflows/ci-tests-lite.yml
index 1db82fe8ba52c..8d38f3247b529 100644
--- a/.github/workflows/ci-lite-tests.yml
+++ b/.github/workflows/ci-tests-lite.yml
@@ -13,7 +13,7 @@ on:
- "src/lightning_lite/**"
- "tests/tests_lite/**"
- "setup.cfg" # includes pytest config
- - ".github/workflows/ci-lite-tests.yml"
+ - ".github/workflows/ci-tests-lite.yml"
- "!requirements/*/docs.txt"
- "!*.md"
- "!**/*.md"
diff --git a/.github/workflows/ci-pytorch-tests.yml b/.github/workflows/ci-tests-pytorch.yml
similarity index 99%
rename from .github/workflows/ci-pytorch-tests.yml
rename to .github/workflows/ci-tests-pytorch.yml
index 34ef2b0834949..fd6692c69a459 100644
--- a/.github/workflows/ci-pytorch-tests.yml
+++ b/.github/workflows/ci-tests-pytorch.yml
@@ -14,7 +14,7 @@ on:
- "tests/tests_pytorch/**"
- "tests/legacy/back-compatible-versions.txt"
- "setup.cfg" # includes pytest config
- - ".github/workflows/ci-pytorch-tests.yml"
+ - ".github/workflows/ci-tests-pytorch.yml"
- "requirements/lite/**"
- "src/lightning_lite/**"
- "!requirements/pytorch/docs.txt"
diff --git a/README.md b/README.md
index 28e588a52145c..19c618122a8a8 100644
--- a/README.md
+++ b/README.md
@@ -90,15 +90,15 @@ Lightning is rigorously tested across multiple CPUs, GPUs, TPUs, IPUs, and HPUs
-| System / PyTorch ver. | 1.9 | 1.10 | 1.12 (latest) |
-| :------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
-| Linux py3.7 \[GPUs\*\*\] | - | - | - |
-| Linux py3.7 \[TPUs\*\*\*\] | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/tpu-tests.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/tpu-tests.yml) | - | - |
-| Linux py3.8 \[IPUs\] | [![Build Status]()](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=25&branchName=master) | - | - |
-| Linux py3.8 \[HPUs\] | - | [![Build Status]()](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=26&branchName=master) | - |
-| Linux py3.{7,9} | - | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml) |
-| OSX py3.{7,9} | - | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml) |
-| Windows py3.{7,9} | - | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml) |
+| System / PyTorch ver. | 1.10 | 1.12 |
+| :------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
+| Linux py3.7 \[GPUs\*\*\] | - | - |
+| Linux py3.7 \[TPUs\*\*\*\] | - | - |
+| Linux py3.8 \[IPUs\] | - | - |
+| Linux py3.8 \[HPUs\] | [![Build Status]()](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=26&branchName=master) | - |
+| Linux py3.{7,9} | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
+| OSX py3.{7,9} | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
+| Windows py3.{7,9} | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
- _\*\* tests run on two NVIDIA P100_
- _\*\*\* tests run on Google GKE TPUv2/3. TPU py3.7 means we support Colab and Kaggle env._
diff --git a/src/pytorch_lightning/README.md b/src/pytorch_lightning/README.md
index 54c3db39c4973..67ddf6eeca6a6 100644
--- a/src/pytorch_lightning/README.md
+++ b/src/pytorch_lightning/README.md
@@ -78,15 +78,15 @@ Lightning is rigorously tested across multiple CPUs, GPUs, TPUs, IPUs, and HPUs
-| System / PyTorch ver. | 1.9 | 1.10 | 1.12 (latest) |
-| :------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
-| Linux py3.7 \[GPUs\*\*\] | - | - | - |
-| Linux py3.7 \[TPUs\*\*\*\] | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/tpu-tests.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/tpu-tests.yml) | - | - |
-| Linux py3.8 \[IPUs\] | [![Build Status]()](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=25&branchName=master) | - | - |
-| Linux py3.8 \[HPUs\] | - | [![Build Status]()](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=26&branchName=master) | - |
-| Linux py3.{7,9} | - | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml) |
-| OSX py3.{7,9} | - | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml) |
-| Windows py3.{7,9} | - | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-pytorch-tests.yml) |
+| System / PyTorch ver. | 1.10 | 1.12 |
+| :------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
+| Linux py3.7 \[GPUs\*\*\] | - | - |
+| Linux py3.7 \[TPUs\*\*\*\] | - | - |
+| Linux py3.8 \[IPUs\] | - | - |
+| Linux py3.8 \[HPUs\] | [![Build Status]()](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=26&branchName=master) | - |
+| Linux py3.{7,9} | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
+| OSX py3.{7,9} | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
+| Windows py3.{7,9} | - | [![Test](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg?branch=master&event=push)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
- _\*\* tests run on two NVIDIA P100_
- _\*\*\* tests run on Google GKE TPUv2/3. TPU py3.7 means we support Colab and Kaggle env._