From 80e7538379b03e90c5ac6bfd751f1855dd6668bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mochol=C3=AD?= Date: Wed, 16 Nov 2022 11:07:02 +0100 Subject: [PATCH] Enable Probot CheckGroup v4 (#15649) --- .azure/app-cloud-e2e.yml | 19 +++++----- .azure/gpu-benchmark.yml | 3 ++ .azure/gpu-tests-lite.yml | 3 ++ .azure/gpu-tests-pytorch.yml | 3 ++ .azure/hpu-tests.yml | 3 ++ .azure/ipu-tests.yml | 3 ++ .github/checkgroup.yml | 46 ++++++++++++++++++++++++ .github/workflows/ci-app-examples.yml | 3 ++ .github/workflows/ci-app-tests.yml | 3 ++ .github/workflows/ci-lite-tests.yml | 3 ++ .github/workflows/ci-pkg-install.yml | 3 ++ .github/workflows/ci-pytorch-dockers.yml | 3 ++ .github/workflows/ci-pytorch-tests.yml | 3 ++ .github/workflows/code-checks.yml | 3 ++ .github/workflows/docs-checks.yml | 2 ++ .github/workflows/probot-check-group.yml | 2 +- .github/workflows/tpu-tests.yml | 3 ++ 17 files changed, 99 insertions(+), 9 deletions(-) diff --git a/.azure/app-cloud-e2e.yml b/.azure/app-cloud-e2e.yml index fb78404b93..24458c0daa 100644 --- a/.azure/app-cloud-e2e.yml +++ b/.azure/app-cloud-e2e.yml @@ -27,14 +27,17 @@ pr: - "release/*" paths: include: - - ".azure/app-cloud-e2e.yml" - - "requirements/app/**" - - "src/lightning_app/**" - - "tests/tests_app/**" - - "examples/app_*/**" # some tests_app tests call examples files - - "tests/tests_app_examples/**" - - "setup.py" - - ".actions/**" + - ".azure/app-cloud-e2e.yml" + - "requirements/app/**" + - "src/lightning_app/**" + - "tests/tests_app/**" + - "examples/app_*/**" # some tests_app tests call examples files + - "tests/tests_app_examples/**" + - "setup.py" + - ".actions/**" + - "!requirements/app/docs.txt" + - "!*.md" + - "!**/*.md" # variables are automatically exported as environment variables so this will override pip's default cache dir variables: diff --git a/.azure/gpu-benchmark.yml b/.azure/gpu-benchmark.yml index eab512fc4d..52ad4251d4 100644 --- a/.azure/gpu-benchmark.yml +++ b/.azure/gpu-benchmark.yml @@ -23,6 +23,9 @@ pr: - ".azure/gpu-benchmark.yml" - "tests/tests_pytorch/benchmarks/**" - "requirements/pytorch/**" + - "!requirements/pytorch/docs.txt" + - "!*.md" + - "!**/*.md" schedules: - cron: "0 0 * * *" # At the end of every day diff --git a/.azure/gpu-tests-lite.yml b/.azure/gpu-tests-lite.yml index 6f786baa9f..c8e1de5587 100644 --- a/.azure/gpu-tests-lite.yml +++ b/.azure/gpu-tests-lite.yml @@ -30,6 +30,9 @@ pr: - "tests/tests_lite/**" - "setup.cfg" # includes pytest config - ".actions/**" + - "!requirements/lite/docs.txt" + - "!*.md" + - "!**/*.md" jobs: - job: testing diff --git a/.azure/gpu-tests-pytorch.yml b/.azure/gpu-tests-pytorch.yml index 7eed8268d2..e96aea733c 100644 --- a/.azure/gpu-tests-pytorch.yml +++ b/.azure/gpu-tests-pytorch.yml @@ -34,6 +34,9 @@ pr: - "requirements/lite/**" - "src/lightning_lite/**" - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" jobs: - job: testing diff --git a/.azure/hpu-tests.yml b/.azure/hpu-tests.yml index e080a222de..ac0d1c2773 100644 --- a/.azure/hpu-tests.yml +++ b/.azure/hpu-tests.yml @@ -26,6 +26,9 @@ pr: - "tests/tests_pytorch/**" - "setup.cfg" # includes pytest config - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" jobs: - job: testing diff --git a/.azure/ipu-tests.yml b/.azure/ipu-tests.yml index 4ffdb9520c..1561b3eeb3 100644 --- a/.azure/ipu-tests.yml +++ b/.azure/ipu-tests.yml @@ -23,6 +23,9 @@ pr: - "tests/tests_pytorch/**" - "setup.cfg" # includes pytest config - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" variables: - name: poplar_sdk diff --git a/.github/checkgroup.yml b/.github/checkgroup.yml index af024a2fe5..923694c316 100644 --- a/.github/checkgroup.yml +++ b/.github/checkgroup.yml @@ -14,6 +14,9 @@ subprojects: - "tests/legacy/back-compatible-versions.txt" - "setup.cfg" # includes pytest config - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "pl-cpu (macOS-11, pytorch, 3.8, 1.11)" - "pl-cpu (macOS-11, pytorch, 3.9, 1.12)" @@ -53,6 +56,9 @@ subprojects: - "requirements/lite/**" - "src/lightning_lite/**" - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "pytorch-lightning (GPUs)" @@ -61,6 +67,9 @@ subprojects: - ".azure/gpu-benchmark.yml" - "tests/tests_pytorch/benchmarks/**" - "requirements/pytorch/**" + - "!requirements/pytorch/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "pytorch-lightning.Benchmark" @@ -75,6 +84,9 @@ subprojects: - "tests/tests_pytorch/**" - "setup.cfg" # includes pytest config - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "pytorch-lightning (HPUs)" @@ -88,6 +100,9 @@ subprojects: - "tests/tests_pytorch/**" - "setup.cfg" # includes pytest config - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "pytorch-lightning (IPUs)" @@ -104,6 +119,9 @@ subprojects: # - "tests/tests_pytorch/**" # - "setup.cfg" # includes pytest config # - ".actions/**" + # - "!requirements/**/docs.txt" + # - "!*.md" + # - "!**/*.md" # checks: # - "test-on-tpus" @@ -117,6 +135,8 @@ subprojects: - "setup.py" - "setup.cfg" # includes metadata used in the package creation - ".actions/**" + - "!*.md" + - "!**/*.md" checks: - "make-doctest (pytorch)" - "make-html (pytorch)" @@ -130,6 +150,9 @@ subprojects: - "environment.yml" - "setup.py" - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "build-cuda (3.9, 1.10, 11.3.1)" - "build-cuda (3.9, 1.11, 11.3.1)" @@ -154,6 +177,9 @@ subprojects: - "setup.cfg" # includes pytest config - ".github/workflows/ci-lite-tests.yml" - ".actions/**" + - "!requirements/lite/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "lite-cpu (macOS-11, lite, 3.8, 1.11)" - "lite-cpu (macOS-11, lite, 3.9, 1.12)" @@ -184,6 +210,9 @@ subprojects: - "tests/tests_lite/**" - "setup.cfg" # includes pytest config - ".actions/**" + - "!requirements/lite/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "lightning-lite (GPUs)" @@ -198,6 +227,9 @@ subprojects: - "requirements/app/**" - "setup.py" - ".actions/**" + - "!requirements/app/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "app-pytest (macOS-11, app, 3.8, latest)" - "app-pytest (macOS-11, app, 3.8, oldest)" @@ -218,6 +250,9 @@ subprojects: - "requirements/app/**" - "setup.py" - ".actions/**" + - "!requirements/app/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "app-examples (macOS-11, app, 3.9, latest)" - "app-examples (macOS-11, app, 3.9, oldest)" @@ -239,6 +274,9 @@ subprojects: - "tests/tests_app_examples/**" - "setup.py" - ".actions/**" + - "!requirements/app/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "App.cloud-e2e" @@ -252,6 +290,8 @@ subprojects: - "setup.py" - "setup.cfg" # includes metadata used in the package creation - ".actions/**" + - "!*.md" + - "!**/*.md" checks: - "make-doctest (app)" - "make-html (app)" @@ -265,6 +305,9 @@ subprojects: - "src/**" - "pyproject.toml" # includes mypy config - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "mypy" @@ -275,6 +318,9 @@ subprojects: - "setup.py" - "src/**" - "requirements/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" checks: - "install-pkg (ubuntu-22.04, app, 3.7)" - "install-pkg (ubuntu-22.04, app, 3.10)" diff --git a/.github/workflows/ci-app-examples.yml b/.github/workflows/ci-app-examples.yml index 76f7748e5a..88eadcfd92 100644 --- a/.github/workflows/ci-app-examples.yml +++ b/.github/workflows/ci-app-examples.yml @@ -15,6 +15,9 @@ on: - "requirements/app/**" - "setup.py" - ".actions/**" + - "!requirements/app/docs.txt" + - "!*.md" + - "!**/*.md" concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} diff --git a/.github/workflows/ci-app-tests.yml b/.github/workflows/ci-app-tests.yml index 3975479ee4..826dfc70b5 100644 --- a/.github/workflows/ci-app-tests.yml +++ b/.github/workflows/ci-app-tests.yml @@ -15,6 +15,9 @@ on: - "requirements/app/**" - "setup.py" - ".actions/**" + - "!requirements/app/docs.txt" + - "!*.md" + - "!**/*.md" concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} diff --git a/.github/workflows/ci-lite-tests.yml b/.github/workflows/ci-lite-tests.yml index d9fed28522..f548e3482f 100644 --- a/.github/workflows/ci-lite-tests.yml +++ b/.github/workflows/ci-lite-tests.yml @@ -14,6 +14,9 @@ on: - "setup.cfg" # includes pytest config - ".github/workflows/ci-lite-tests.yml" - ".actions/**" + - "!requirements/lite/docs.txt" + - "!*.md" + - "!**/*.md" concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} diff --git a/.github/workflows/ci-pkg-install.yml b/.github/workflows/ci-pkg-install.yml index 3a7313690c..e749b49163 100644 --- a/.github/workflows/ci-pkg-install.yml +++ b/.github/workflows/ci-pkg-install.yml @@ -13,6 +13,9 @@ on: - "setup.py" - "src/**" - "requirements/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} diff --git a/.github/workflows/ci-pytorch-dockers.yml b/.github/workflows/ci-pytorch-dockers.yml index 4461b98062..0c45a22d89 100644 --- a/.github/workflows/ci-pytorch-dockers.yml +++ b/.github/workflows/ci-pytorch-dockers.yml @@ -14,6 +14,9 @@ on: - "environment.yml" - "setup.py" - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" schedule: - cron: "0 0 * * *" # at the end of every day diff --git a/.github/workflows/ci-pytorch-tests.yml b/.github/workflows/ci-pytorch-tests.yml index 18d698e2b7..bf861854c9 100644 --- a/.github/workflows/ci-pytorch-tests.yml +++ b/.github/workflows/ci-pytorch-tests.yml @@ -17,6 +17,9 @@ on: - "requirements/lite/**" - "src/lightning_lite/**" - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index 40f14287c0..2688b17506 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -11,6 +11,9 @@ on: - "src/**" - "pyproject.toml" # includes mypy config - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} diff --git a/.github/workflows/docs-checks.yml b/.github/workflows/docs-checks.yml index 3072e32e8a..01d50bd61e 100644 --- a/.github/workflows/docs-checks.yml +++ b/.github/workflows/docs-checks.yml @@ -16,6 +16,8 @@ on: - "setup.py" - "setup.cfg" # includes metadata used in the package creation - ".github/workflows/docs-checks.yml" + - "!*.md" + - "!**/*.md" concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} diff --git a/.github/workflows/probot-check-group.yml b/.github/workflows/probot-check-group.yml index c952ea7bb0..15965ca7eb 100644 --- a/.github/workflows/probot-check-group.yml +++ b/.github/workflows/probot-check-group.yml @@ -14,7 +14,7 @@ jobs: if: github.event.pull_request.draft == false timeout-minutes: 61 # in case something is wrong with the internal timeout steps: - - uses: Lightning-AI/probot@v3 + - uses: Lightning-AI/probot@v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/tpu-tests.yml b/.github/workflows/tpu-tests.yml index cbe56651cb..8f21eabee0 100644 --- a/.github/workflows/tpu-tests.yml +++ b/.github/workflows/tpu-tests.yml @@ -17,6 +17,9 @@ on: - "tests/tests_pytorch/**" - "setup.cfg" # includes pytest config - ".actions/**" + - "!requirements/**/docs.txt" + - "!*.md" + - "!**/*.md" concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}