diff --git a/.github/workflows/ci-cloud.yml b/.github/workflows/ci-cloud.yml index 2c097d1..7d17156 100644 --- a/.github/workflows/ci-cloud.yml +++ b/.github/workflows/ci-cloud.yml @@ -1,7 +1,11 @@ name: Cloud integration # see: https://help.github.com/en/actions/reference/events-that-trigger-workflows -on: [push, workflow_dispatch] +on: + push: + workflow_dispatch: + schedule: + - cron: "0 0 * * *" defaults: run: @@ -56,3 +60,19 @@ jobs: env_vars: OS,PYTHON name: codecov-umbrella fail_ci_if_error: false + + integration-guardian: + runs-on: ubuntu-latest + needs: integration + if: always() + steps: + - run: echo "${{ needs.integration.result }}" + - name: failing... + if: needs.integration.result == 'failure' + run: exit 1 + - name: cancelled or skipped... + if: contains(fromJSON('["cancelled", "skipped"]'), needs.integration.result) + timeout-minutes: 1 + run: sleep 90 + + # todo add job to report failing tests with cron