Skip to content

Commit

Permalink
CI: Run nightly testing jobs each second night only
Browse files Browse the repository at this point in the history
The reason is because free capacity for Codecov uploads is limited.
  • Loading branch information
amotl committed Jun 5, 2024
1 parent dc8a461 commit 6c9b340
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/influxdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -89,4 +91,4 @@ jobs:
flags: influxdb
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false
fail_ci_if_error: true
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -83,4 +85,4 @@ jobs:
flags: main
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false
fail_ci_if_error: true
8 changes: 5 additions & 3 deletions .github/workflows/mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -88,4 +90,4 @@ jobs:
flags: mongodb
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false
fail_ci_if_error: true

0 comments on commit 6c9b340

Please sign in to comment.