CI: filter mypy triggers (#15481)

* CI: filter mypy triggers

* Fixes to checkgroup

* Remove setup.cfg

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
This commit is contained in:
Jirka Borovec 2022-11-03 08:29:20 +01:00 committed by GitHub
parent 9c20cad40e
commit 1703944a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -50,7 +50,6 @@ subprojects:
#- "pl-cpu (windows-2022, lightning, 3.7, 1.9, oldest)"
- "make-doctest (pytorch)"
- "make-html (pytorch)"
- "mypy"
- "pytorch-lightning (GPUs)"
- "pytorch-lightning (HPUs)"
- "pytorch-lightning (IPUs)"
@ -181,7 +180,6 @@ subprojects:
- "lite-cpu (ubuntu-20.04, lightning, 3.8, 1.12)"
- "lite-cpu (windows-2022, lightning, 3.8, 1.12)"
- "lightning-lite (GPUs)"
- "mypy"
# Lite also requires PL checks as it depends on Lite
- "pl-cpu (macOS-11, pytorch, 3.8, 1.10)"
- "pl-cpu (macOS-11, pytorch, 3.9, 1.11)"
@ -313,7 +311,10 @@ subprojects:
- id: "mypy"
paths:
- ".github/workflows/code-checks.yml"
- "requirements/**"
- "src/**"
- "pyproject.toml" # includes mypy config
- ".actions/**"
checks:
- "mypy"

View File

@ -5,6 +5,12 @@ on:
branches: [master, "release/*"]
pull_request:
branches: [master, "release/*"]
paths:
- ".github/workflows/code-checks.yml"
- "requirements/**"
- "src/**"
- "pyproject.toml" # includes mypy config
- "actions/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}