This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 627aa71e0f9c452f98279b37ee7346c304bdff6e Author: Jarek Potiuk <[email protected]> AuthorDate: Wed Jul 22 08:05:36 2020 +0200 Tests are cancelled if any of faster checks fail (#9917) (cherry picked from commit 508d7d202ac13531ac840e8fdcc1ad0adb7c9460) --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aac8be1..8cb1efa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: static-checks: timeout-minutes: 60 - name: "Checks" + name: "Static checks" runs-on: ubuntu-latest needs: - cancel-previous-workflow-run @@ -84,6 +84,9 @@ jobs: run: ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh - name: "Static checks" run: ./scripts/ci/static_checks/ci_run_static_checks.sh + - name: "Cancel workflow on static checks failure" + if: ${{ failure() }} + uses: andymckay/[email protected] docs: timeout-minutes: 60 name: "Build docs" @@ -99,6 +102,9 @@ jobs: run: ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh - name: "Build docs" run: ./scripts/ci/docs/ci_docs.sh + - name: "Cancel workflow on docs failure" + if: ${{ failure() }} + uses: andymckay/[email protected] trigger-tests: timeout-minutes: 5 @@ -305,6 +311,9 @@ jobs: - uses: actions/checkout@master - name: "Helm Tests" run: ./scripts/ci/kubernetes/ci_run_helm_testing.sh + - name: "Cancel workflow on helm-tests failure" + if: ${{ failure() }} + uses: andymckay/[email protected] build-prod-image: timeout-minutes: 60 @@ -319,6 +328,9 @@ jobs: - uses: actions/checkout@master - name: "Build PROD image ${{ matrix.python-version }}" run: ./scripts/ci/images/ci_prepare_prod_image_on_ci.sh + - name: "Cancel workflow on build prod image failure" + if: ${{ failure() }} + uses: andymckay/[email protected] push-prod-images-to-github-cache: timeout-minutes: 80
