From ea17a4e7af3c9faa1c9367e34fb9349866e5e4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 11 Mar 2024 18:58:18 +0100 Subject: [PATCH] Enhancement: Run tests nightly at 12.15am --- .github/workflows/ci.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d70d979f837..d82c9c7e605 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,8 +1,10 @@ # https://docs.github.com/en/actions on: - - pull_request - - push + pull_request: null + push: null + schedule: + - cron: "15 0 * * *" name: CI @@ -39,6 +41,8 @@ jobs: coding-guidelines: name: Coding Guidelines + if: github.event_name != 'schedule' + runs-on: ubuntu-latest steps: @@ -59,6 +63,8 @@ jobs: type-checker: name: Type Checker + if: github.event_name != 'schedule' + needs: - dependency-validation @@ -190,6 +196,8 @@ jobs: code-coverage: name: Code Coverage + if: github.event_name != 'schedule' + needs: - end-to-end-tests @@ -222,6 +230,8 @@ jobs: build-phar: name: Build PHAR + if: github.event_name != 'schedule' + needs: - end-to-end-tests @@ -267,6 +277,8 @@ jobs: test-phar: name: Test PHAR + if: github.event_name != 'schedule' + needs: - build-phar @@ -322,6 +334,8 @@ jobs: test-phar-without-code-coverage: name: Test PHAR without code coverage + if: github.event_name != 'schedule' + needs: - build-phar