From 6c9b3408c885a21bfb7d99d6ea5c85ca2670cdd9 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 4 Jun 2024 19:09:54 +0200 Subject: [PATCH] CI: Run nightly testing jobs each second night only The reason is because free capacity for Codecov uploads is limited. --- .github/workflows/influxdb.yml | 8 +++++--- .github/workflows/main.yml | 8 +++++--- .github/workflows/mongodb.yml | 8 +++++--- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/influxdb.yml b/.github/workflows/influxdb.yml index d8e39945..50c86942 100644 --- a/.github/workflows/influxdb.yml +++ b/.github/workflows/influxdb.yml @@ -18,9 +18,11 @@ on: # Allow job to be triggered manually. workflow_dispatch: - # Run job each night after CrateDB nightly has been published. + # Run job each second night after CrateDB nightly has been published. + # The reason about "why each second night", is because free capacity + # for Codecov uploads is limited. schedule: - - cron: '0 3 * * *' + - cron: '0 3 */2 * *' # Cancel in-progress jobs when pushing to the same branch. concurrency: @@ -89,4 +91,4 @@ jobs: flags: influxdb env_vars: OS,PYTHON name: codecov-umbrella - fail_ci_if_error: false + fail_ci_if_error: true diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09b613e3..641ea101 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,9 +9,11 @@ on: # Allow job to be triggered manually. workflow_dispatch: - # Run job each night after CrateDB nightly has been published. + # Run job each second night after CrateDB nightly has been published. + # The reason about "why each second night", is because free capacity + # for Codecov uploads is limited. schedule: - - cron: '0 3 * * *' + - cron: '0 3 */2 * *' # Cancel in-progress jobs when pushing to the same branch. concurrency: @@ -83,4 +85,4 @@ jobs: flags: main env_vars: OS,PYTHON name: codecov-umbrella - fail_ci_if_error: false + fail_ci_if_error: true diff --git a/.github/workflows/mongodb.yml b/.github/workflows/mongodb.yml index 7c469485..5fc31ed6 100644 --- a/.github/workflows/mongodb.yml +++ b/.github/workflows/mongodb.yml @@ -18,9 +18,11 @@ on: # Allow job to be triggered manually. workflow_dispatch: - # Run job each night after CrateDB nightly has been published. + # Run job each second night after CrateDB nightly has been published. + # The reason about "why each second night", is because free capacity + # for Codecov uploads is limited. schedule: - - cron: '0 3 * * *' + - cron: '0 3 */2 * *' # Cancel in-progress jobs when pushing to the same branch. concurrency: @@ -88,4 +90,4 @@ jobs: flags: mongodb env_vars: OS,PYTHON name: codecov-umbrella - fail_ci_if_error: false + fail_ci_if_error: true