Fix blocked CI cancellation caused by always() in clang-tidy workflow (#9503)

This commit is contained in:
J. Nick Koston 2025-07-14 16:17:56 -10:00 committed by GitHub
parent a572d4eb47
commit d3d1ba553d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -246,30 +246,13 @@ jobs:
. venv/bin/activate
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:
name: ${{ matrix.name }}
runs-on: ubuntu-24.04
needs:
- clang-tidy-deps
- common
- determine-jobs
if: |
always() &&
needs.determine-jobs.outputs.clang-tidy == 'true' &&
needs.clang-tidy-deps.result == 'success'
if: needs.determine-jobs.outputs.clang-tidy == 'true'
env:
GH_TOKEN: ${{ github.token }}
strategy:
@ -502,7 +485,6 @@ jobs:
- pylint
- pytest
- integration-tests
- clang-tidy-deps
- clang-tidy
- determine-jobs
- test-build-components