mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 06:06:33 +00:00
Fix clang-tidy skipping when Python linters are skipped (#9463)
This commit is contained in:
parent
5416cee2c9
commit
b21c76a6c6
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
@ -345,20 +345,31 @@ jobs:
|
||||
run: script/ci-suggest-changes
|
||||
if: always()
|
||||
|
||||
clang-tidy-deps:
|
||||
name: Clang-tidy dependencies
|
||||
runs-on: ubuntu-24.04
|
||||
needs:
|
||||
- common
|
||||
- ci-custom
|
||||
- clang-format
|
||||
- pytest
|
||||
- determine-jobs
|
||||
if: |
|
||||
always() &&
|
||||
needs.determine-jobs.outputs.clang-tidy == 'true'
|
||||
steps:
|
||||
- run: echo "All clang-tidy dependencies ready"
|
||||
|
||||
clang-tidy:
|
||||
name: ${{ matrix.name }}
|
||||
runs-on: ubuntu-24.04
|
||||
needs:
|
||||
- common
|
||||
- ruff
|
||||
- ci-custom
|
||||
- clang-format
|
||||
- flake8
|
||||
- pylint
|
||||
- pytest
|
||||
- pyupgrade
|
||||
- clang-tidy-deps
|
||||
- determine-jobs
|
||||
if: needs.determine-jobs.outputs.clang-tidy == 'true'
|
||||
if: |
|
||||
always() &&
|
||||
needs.determine-jobs.outputs.clang-tidy == 'true' &&
|
||||
needs.clang-tidy-deps.result == 'success'
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
strategy:
|
||||
@ -575,6 +586,7 @@ jobs:
|
||||
- pytest
|
||||
- integration-tests
|
||||
- pyupgrade
|
||||
- clang-tidy-deps
|
||||
- clang-tidy
|
||||
- determine-jobs
|
||||
- test-build-components
|
||||
|
Loading…
x
Reference in New Issue
Block a user