Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Probot CheckGroup v4 #15649

Merged
merged 5 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .azure/app-cloud-e2e.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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