mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 22:26:36 +00:00
Fix blocked CI cancellation caused by always() in clang-tidy workflow (#9503)
This commit is contained in:
parent
a572d4eb47
commit
d3d1ba553d
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@ -246,30 +246,13 @@ jobs:
|
|||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
pytest -vv --no-cov --tb=native -n auto tests/integration/
|
pytest -vv --no-cov --tb=native -n auto tests/integration/
|
||||||
|
|
||||||
clang-tidy-deps:
|
|
||||||
name: Clang-tidy dependencies
|
|
||||||
runs-on: ubuntu-24.04
|
|
||||||
needs:
|
|
||||||
- common
|
|
||||||
- ci-custom
|
|
||||||
- pytest
|
|
||||||
- determine-jobs
|
|
||||||
if: |
|
|
||||||
always() &&
|
|
||||||
needs.determine-jobs.outputs.clang-tidy == 'true'
|
|
||||||
steps:
|
|
||||||
- run: echo "All clang-tidy dependencies ready"
|
|
||||||
|
|
||||||
clang-tidy:
|
clang-tidy:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
needs:
|
needs:
|
||||||
- clang-tidy-deps
|
- common
|
||||||
- determine-jobs
|
- determine-jobs
|
||||||
if: |
|
if: needs.determine-jobs.outputs.clang-tidy == 'true'
|
||||||
always() &&
|
|
||||||
needs.determine-jobs.outputs.clang-tidy == 'true' &&
|
|
||||||
needs.clang-tidy-deps.result == 'success'
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
strategy:
|
strategy:
|
||||||
@ -502,7 +485,6 @@ jobs:
|
|||||||
- pylint
|
- pylint
|
||||||
- pytest
|
- pytest
|
||||||
- integration-tests
|
- integration-tests
|
||||||
- clang-tidy-deps
|
|
||||||
- clang-tidy
|
- clang-tidy
|
||||||
- determine-jobs
|
- determine-jobs
|
||||||
- test-build-components
|
- test-build-components
|
||||||
|
Loading…
x
Reference in New Issue
Block a user