Skip to content

Commit 00f39f6

Browse files
authored
Ben/functional split (#917)
* set functional splits * set functional splits
1 parent 5a4f30d commit 00f39f6

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/check-beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check new beta version - Smoke
22

33
on:
44
schedule:
5-
- cron: "05 */1 * * *"
5+
- cron: "20 */1 * * *"
66
env:
77
LATEST: ""
88
permissions:

.github/workflows/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,15 @@ jobs:
8080
New-Item -Name .env -Value $env_contents -ItemType File -Force
8181
Write-Host "$env:TESTRAIL_REPORT"
8282
shell: pwsh
83+
- name: Set Functional Split
84+
if: ${{ inputs.test_set == 'functional' }}
85+
run: |
86+
$env_contents = @"
87+
TESTRAIL_FUNCTIONAL_SPLIT=1
88+
"@
89+
New-Item -Name .env -Value $env_contents -ItemType File -Force
90+
Write-Host "$env:TESTRAIL_REPORT"
91+
Write-Host "$env:STARFOX_MANIFEST"
8392
- name: Install dependencies
8493
run: |
8594
mkdir -p artifacts;
@@ -182,6 +191,9 @@ jobs:
182191
- name: Select Test Set
183192
if: ${{ inputs.test_set != null }}
184193
run: echo "STARFOX_MANIFEST=./manifests/${{ inputs.test_set }}.yaml" >> "$GITHUB_ENV"
194+
- name: Set Functional Split
195+
if: ${{ inputs.test_set == 'functional' }}
196+
run: echo "TESTRAIL_FUNCTIONAL_SPLIT=1" >> "$GITHUB_ENV"
185197
- name: Set Environment (Manual)
186198
if: ${{ inputs.mac_installer_link }}
187199
run: |

0 commit comments

Comments
 (0)