File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ jobs:
18
18
with :
19
19
bazel-target-prefix : ' //dotnet'
20
20
21
- browser-test :
21
+ browser :
22
22
if : ${{ needs.check_workflow.outputs.result == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(toJson(github.event.commits), '[dotnet]') == true }}
23
23
needs : check_workflow
24
24
runs-on : ' windows-latest'
25
25
strategy :
26
26
fail-fast : false
27
27
matrix :
28
28
driver : [ Chrome, Firefox ]
29
+ framework : [ net6.0, net48, netcoreapp3.1 ]
29
30
include :
30
31
- driver : Chrome
31
32
location : ' C:\SeleniumWebDrivers\ChromeDriver'
@@ -43,14 +44,14 @@ jobs:
43
44
uses : ./.github/actions/cache-bazel
44
45
with :
45
46
workflow : dotnet
46
- key : ${{ matrix.driver }}
47
+ key : ${{ matrix.driver }}-${{ matrix.framework }}
47
48
- name : Setup dotnet tests
48
49
uses : ./.github/actions/bazel
49
50
with :
50
51
command : build //dotnet/test/common:chrome
51
52
- name : Run ${{ matrix.driver }} tests
52
53
working-directory : dotnet
53
- run : dotnet test test/common/WebDriver.Common.Tests.csproj
54
+ run : dotnet test test/common/WebDriver.Common.Tests.csproj --framework ${{ matrix.framework }}
54
55
env :
55
56
ACTIVE_DRIVER_CONFIG : ${{ matrix.driver }}
56
57
DRIVER_SERVICE_LOCATION : ${{ matrix.location }}
You can’t perform that action at this time.
0 commit comments