File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Check new devedition version
2
2
3
3
on :
4
4
schedule :
5
- - cron : " 46 */12 * * *"
5
+ - cron : " 38 * * * *"
6
6
env :
7
7
LATEST : " "
8
8
permissions :
@@ -30,17 +30,17 @@ jobs:
30
30
echo win=$(pipenv run python -c 'from modules import testrail_integration as tri; print(tri.reportable("Windows"))') >> "$GITHUB_OUTPUT"
31
31
echo mac=$(pipenv run python -c 'from modules import testrail_integration as tri; print(tri.reportable("Darwin"))') >> "$GITHUB_OUTPUT"
32
32
Run-Win-Smoke :
33
- needs : Check-Beta -Version
34
- if : ${{ needs.Check-Beta -Version.outputs.win_reportable == 'True' }}
33
+ needs : Check-DevEdition -Version
34
+ if : ${{ needs.Check-DevEdition -Version.outputs.win_reportable == 'True' }}
35
35
uses : ./.github/workflows/smoke.yml
36
36
with :
37
37
channel : " devedition"
38
38
job_to_run : Smoke-Windows
39
39
secrets : inherit
40
40
41
41
Run-Mac-Smoke :
42
- needs : Check-Beta -Version
43
- if : ${{ needs.Check-Beta -Version.outputs.mac_reportable == 'True' }}
42
+ needs : Check-DevEdition -Version
43
+ if : ${{ needs.Check-DevEdition -Version.outputs.mac_reportable == 'True' }}
44
44
uses : ./.github/workflows/smoke.yml
45
45
with :
46
46
channel : " devedition"
Original file line number Diff line number Diff line change @@ -98,8 +98,12 @@ def reportable(platform_to_test=None):
98
98
logging .warning (f"Got version from collect_executable.py! { version } " )
99
99
tr_session = testrail_init ()
100
100
major_number , second_half = version .split ("." )
101
- minor_num , build_num = second_half .split ("-" )
102
- channel = os .environ .get ("FX_CHANNEL" ).title ()
101
+ if "-" in second_half :
102
+ minor_num , _ = second_half .split ("-" )
103
+ else :
104
+ minor_num = second_half
105
+ channel = os .environ .get ("FX_CHANNEL" ) or "beta"
106
+ channel = channel .title ()
103
107
if not channel :
104
108
if "b" in minor_num :
105
109
channel = "Beta"
You can’t perform that action at this time.
0 commit comments