Skip to content

Commit

Permalink
Updated to allow Mobile and Web options in Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-M-Johnson committed Nov 6, 2024
1 parent 3906bab commit b46a2e7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/TestExecute Simple Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
description: Project to be executed
options:
- HeadStart
- Web
- Mobile
jobs:
DownloadInstallAndRunTE:
name: Install and Run TestExecute (${{ github.actor }})
Expand Down
10 changes: 10 additions & 0 deletions test-runner.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@ REM By default we run HeadStart Testing
set ProjectPath="%cd%\TC_Head_Start_Suite.pjs"

IF "%2" == "HeadStart" GOTO HeadStartProjectRun
IF "%2" == "Mobile" GOTO MobileProjectRun
IF "%2" == "Web" GOTO WebProjectRun
IF NOT %2.==. GOTO ParamProjectPath
GOTO EchoProjectPath

:HeadStartProjectRun
set ProjectPath="%cd%\TC_Head_Start_Suite.pjs"
GOTO EchoProjectPath

:MobileProjectRun
set ProjectPath="%cd%\MobileTesting\MobileTesting.pjs"
GOTO EchoProjectPath

:WebProjectRun
set ProjectPath="%cd%\WebTesting\WebTesting.pjs"
GOTO EchoProjectPath

:ParamProjectPath
set ProjectPath=%2
GOTO EchoProjectPath
Expand Down

0 comments on commit b46a2e7

Please sign in to comment.