From cd53e233c62ea89dd5fbe25d75b5b9e936998e7e Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Mon, 13 Sep 2021 09:31:28 +0200 Subject: [PATCH] build: add a weekly trigger, only run notebooks during weekly - may need to adapt the notebook timeouts --- .github/workflows/continuous-integration.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 947fb282a..a52f1c8e8 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -10,6 +10,12 @@ on: types: - env-docker-preflight + schedule: + # * is a special character in YAML so you have to quote this string + # At 22:00 on Sunday + # Timezone is UTC, so Paris time is +2 during the summer and +1 during winter + - cron: '0 22 * * 0' + jobs: build: concurrency: @@ -80,7 +86,7 @@ jobs: run: | make pytest - name: Notebooks - if: ${{ steps.conformance.outcome == 'success' && !cancelled() }} + if: ${{ github.event_name == 'schedule' && steps.conformance.outcome == 'success' && !cancelled() }} env: # TODO: remove this when JIT doesn't need this LD_PRELOAD: /compiler/build/lib/Runtime/libZamalangRuntime.so