Skip to content

Commit eedbb51

Browse files
committed
add more runners for testing
1 parent 85d7c44 commit eedbb51

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

.github/workflows/PlaywrightProjectTests.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,22 @@ name: Playwright project tests
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
runner:
7+
description: "Select the runner"
8+
required: false
9+
type: choice
10+
options:
11+
- ubunntu-latest
12+
- windows-latest
13+
default: ubunntu-latest
514
pull_request:
615

716
jobs:
817
PlaywrightProjectTests:
9-
runs-on: ubuntu-latest
18+
runs-on: ${{ inputs.runner || 'ubunntu-latest' }}
1019
steps:
11-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
1221
- name: Setup .NET Core SDK '8.0.x'
1322
uses: actions/setup-dotnet@v4
1423
with:

.github/workflows/SeleniumProjectTests.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@ name: Selenium project tests
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
runner:
7+
description: "Select the runner"
8+
required: false
9+
type: choice
10+
options:
11+
- windows-latest
12+
- ubunntu-latest
13+
default: windows-latest
514
pull_request:
615
branches: [ main ]
716

@@ -11,10 +20,10 @@ env:
1120
jobs:
1221
build:
1322

14-
runs-on: windows-latest
23+
runs-on: ${{ inputs.runner || 'windows-latest' }}
1524

1625
steps:
17-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
1827
- name: Setup .NET
1928
uses: actions/setup-dotnet@v4
2029
with:

0 commit comments

Comments
 (0)