mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
.github: Add WeeklyTests and make Nightlies Monday-Saturday
...and add "realtime" option.
This commit is contained in:
8
.github/workflows/NightlyTests.yml
vendored
8
.github/workflows/NightlyTests.yml
vendored
@@ -10,9 +10,14 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
description: "Array of test groups to run: ['ari1','channels']. Defaults to NIGHTLYTEST_LIST"
|
description: "Array of test groups to run: ['ari1','channels']. Defaults to NIGHTLYTEST_LIST"
|
||||||
|
realtime:
|
||||||
|
type: boolean
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2 * * *'
|
# Monday-Saturday 2am
|
||||||
|
- cron: '0 2 * * 1-6'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
NightlyTests:
|
NightlyTests:
|
||||||
@@ -21,5 +26,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
branches: ${{ inputs.branches || vars.NIGHTLYTEST_BRANCHES }}
|
branches: ${{ inputs.branches || vars.NIGHTLYTEST_BRANCHES }}
|
||||||
group_list: ${{ inputs.group_list || vars.NIGHTLYTEST_LIST }}
|
group_list: ${{ inputs.group_list || vars.NIGHTLYTEST_LIST }}
|
||||||
|
realtime: ${{ inputs.realtime }}
|
||||||
secrets:
|
secrets:
|
||||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
31
.github/workflows/WeeklyTests.yml
vendored
Normal file
31
.github/workflows/WeeklyTests.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
name: WeeklyTests
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branches:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
description: "Array of branches to run: ['21','master']. Defaults to NIGHTLYTEST_BRANCHES"
|
||||||
|
group_list:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
description: "Array of test groups to run: ['ari1','channels']. Defaults to NIGHTLYTEST_LIST"
|
||||||
|
realtime:
|
||||||
|
type: boolean
|
||||||
|
required: false
|
||||||
|
default: true
|
||||||
|
|
||||||
|
schedule:
|
||||||
|
# Sunday 2am
|
||||||
|
- cron: '0 2 * * 0'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
WeeklyTests:
|
||||||
|
name: WeeklyTests
|
||||||
|
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskNightlyTest.yml@main
|
||||||
|
with:
|
||||||
|
branches: ${{ inputs.branches || vars.NIGHTLYTEST_BRANCHES }}
|
||||||
|
group_list: ${{ inputs.group_list || vars.NIGHTLYTEST_LIST }}
|
||||||
|
realtime: ${{ inputs.realtime }}
|
||||||
|
secrets:
|
||||||
|
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Reference in New Issue
Block a user