Skip to content

Commit

Permalink
Enable Probot CheckGroup v4 (#15649)
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed Nov 16, 2022
1 parent 9670fa8 commit 80e7538
Show file tree
Hide file tree
Showing 17 changed files with 99 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .azure/app-cloud-e2e.yml
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .azure/gpu-benchmark.yml
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .azure/gpu-tests-lite.yml
Expand Up @@ -30,6 +30,9 @@ pr:
- "tests/tests_lite/**"
- "setup.cfg" # includes pytest config
- ".actions/**"
- "!requirements/lite/docs.txt"
- "!*.md"
- "!**/*.md"

jobs:
- job: testing
Expand Down
3 changes: 3 additions & 0 deletions .azure/gpu-tests-pytorch.yml
Expand Up @@ -34,6 +34,9 @@ pr:
- "requirements/lite/**"
- "src/lightning_lite/**"
- ".actions/**"
- "!requirements/**/docs.txt"
- "!*.md"
- "!**/*.md"

jobs:
- job: testing
Expand Down
3 changes: 3 additions & 0 deletions .azure/hpu-tests.yml
Expand Up @@ -26,6 +26,9 @@ pr:
- "tests/tests_pytorch/**"
- "setup.cfg" # includes pytest config
- ".actions/**"
- "!requirements/**/docs.txt"
- "!*.md"
- "!**/*.md"

jobs:
- job: testing
Expand Down
3 changes: 3 additions & 0 deletions .azure/ipu-tests.yml
Expand Up @@ -23,6 +23,9 @@ pr:
- "tests/tests_pytorch/**"
- "setup.cfg" # includes pytest config
- ".actions/**"
- "!requirements/**/docs.txt"
- "!*.md"
- "!**/*.md"

variables:
- name: poplar_sdk
Expand Down
46 changes: 46 additions & 0 deletions .github/checkgroup.yml
Expand Up @@ -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)"
Expand Down Expand Up @@ -53,6 +56,9 @@ subprojects:
- "requirements/lite/**"
- "src/lightning_lite/**"
- ".actions/**"
- "!requirements/**/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "pytorch-lightning (GPUs)"

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

Expand All @@ -75,6 +84,9 @@ subprojects:
- "tests/tests_pytorch/**"
- "setup.cfg" # includes pytest config
- ".actions/**"
- "!requirements/**/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "pytorch-lightning (HPUs)"

Expand All @@ -88,6 +100,9 @@ subprojects:
- "tests/tests_pytorch/**"
- "setup.cfg" # includes pytest config
- ".actions/**"
- "!requirements/**/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "pytorch-lightning (IPUs)"

Expand All @@ -104,6 +119,9 @@ subprojects:
# - "tests/tests_pytorch/**"
# - "setup.cfg" # includes pytest config
# - ".actions/**"
# - "!requirements/**/docs.txt"
# - "!*.md"
# - "!**/*.md"
# checks:
# - "test-on-tpus"

Expand All @@ -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)"
Expand All @@ -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)"
Expand All @@ -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)"
Expand Down Expand Up @@ -184,6 +210,9 @@ subprojects:
- "tests/tests_lite/**"
- "setup.cfg" # includes pytest config
- ".actions/**"
- "!requirements/lite/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "lightning-lite (GPUs)"

Expand All @@ -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)"
Expand All @@ -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)"
Expand All @@ -239,6 +274,9 @@ subprojects:
- "tests/tests_app_examples/**"
- "setup.py"
- ".actions/**"
- "!requirements/app/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "App.cloud-e2e"

Expand All @@ -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)"
Expand All @@ -265,6 +305,9 @@ subprojects:
- "src/**"
- "pyproject.toml" # includes mypy config
- ".actions/**"
- "!requirements/**/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "mypy"

Expand All @@ -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)"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-app-examples.yml
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-app-tests.yml
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-lite-tests.yml
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-pkg-install.yml
Expand Up @@ -13,6 +13,9 @@ on:
- "setup.py"
- "src/**"
- "requirements/**"
- "!requirements/**/docs.txt"
- "!*.md"
- "!**/*.md"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-pytorch-dockers.yml
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-pytorch-tests.yml
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/code-checks.yml
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs-checks.yml
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/probot-check-group.yml
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tpu-tests.yml
Expand Up @@ -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 }}
Expand Down

0 comments on commit 80e7538

Please sign in to comment.