-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEW (Extension) @W-16812379@ Add production heartbeat test
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: production-heartbeat | ||
on: | ||
workflow_dispatch: # As per documentation, the colon is necessary even though no config is required. | ||
schedule: | ||
# Cron syntax is "minute[0-59] hour[0-23] date[1-31] month[1-12] day[0-6]". '*' is 'any value', and multiple values | ||
# can be specified with comma-separated lists. All times are UTC. | ||
# So this expression means "run at 45 minutes past 1, 5, and 9 AM/PM UTC". The hours were chosen so that | ||
# the jobs run only close to business hours of Central Time. | ||
# Days were chosen to run only from Monday through Friday. | ||
- cron: '45 13,17,21 * * 1,2,3,4,5' | ||
jobs: | ||
production-heartbeat: | ||
strategy: | ||
# By default, if any job in a matrix fails, all other jobs are immediately cancelled. This makes the jobs run to completion instead. | ||
fail-fast: false | ||
matrix: | ||
os: [{vm: ubuntu-latest, exe: .sh}, {vm: windows-2019, exe: .cmd}] | ||
node: ['lts/*'] | ||
runs-on: ${{ matrix.os.vm }} | ||
timeout-minutes: 60 |