From 83aff48db952d4c5584d534911f4f2817a77ca7c Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 23 Nov 2021 11:21:55 +0100 Subject: [PATCH] GitHub Actions: Don't run test suite if basic linters fails (#60197) --- .github/workflows/ci.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 62e14b2f129..e95bd9034f8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -653,7 +653,20 @@ jobs: pytest: runs-on: ubuntu-latest - needs: prepare-tests + needs: + - gen-requirements-all + - hassfest + - lint-bandit + - lint-black + - lint-codespell + - lint-dockerfile + - lint-executable-shebangs + - lint-isort + - lint-json + - lint-pyupgrade + - lint-yaml + - mypy + - prepare-tests strategy: fail-fast: false matrix: