File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Orchard Core Contrib Testing
1+ name : Orchard Core Contrib Testing - Build
22
33on :
44 pull_request :
55 branches : [ main ]
6-
7- env :
8- DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
9- DOTNET_CLI_TELEMETRY_OPTOUT : true
6+ paths-ignore :
7+ - ' README.md'
108
119jobs :
12- test :
10+ build :
1311 runs-on : windows-latest
14- name : Build & Test
12+ env :
13+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
14+ DOTNET_CLI_TELEMETRY_OPTOUT : true
15+
1516 steps :
16- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v6
18+ with :
19+ submodules : true
20+ token : ${{ secrets.OCC_TOKEN }}
1721 - name : Setup .NET Core
18- uses : actions/setup-dotnet@v4
22+ uses : actions/setup-dotnet@v5
1923 with :
20- dotnet-version : 8.0.*
21- - name : Install dependencies
24+ dotnet-version : |
25+ 8.0.*
26+ 10.0.*
27+
28+ - name : Install Dependencies
2229 run : dotnet restore
30+
2331 - name : Build
24- run : dotnet build -c Release --no-restore
25- - name : Install Playwright browsers & dependencies
26- run : pwsh test/OrchardCoreContrib.Testing.UI.Tests/bin/Release/net8.0/playwright.ps1 install --with-deps
32+ run : dotnet build --configuration Release --no-restore
33+
34+ - name : Install Playwright.NET
35+ uses : phil-scott-78/setup-playwright-dotnet@v0.1.0-alpha
36+ with :
37+ with-deps : true
38+ browsers : ' all'
39+
2740 - name : Test
28- run :
29- dotnet test test/OrchardCoreContrib.Testing.UI.Tests -c Release --no-restore --verbosity normal
41+ run : dotnet test --configuration Release --no-restore --verbosity normal
You can’t perform that action at this time.
0 commit comments