File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 10
10
branches : [ "dev" ]
11
11
12
12
jobs :
13
- build :
14
-
13
+ netcore :
15
14
runs-on : ubuntu-latest
16
15
strategy :
17
16
matrix :
25
24
dotnet-version : ${{ matrix.dotnet-version }}
26
25
- name : Restore dependencies
27
26
run : dotnet restore
28
- - name : dotnet build
27
+ - name : Build
29
28
run : dotnet build --configuration Release --no-restore
30
- - name : dotnet test
31
- run : dotnet test --configuration Release--no-build --verbosity normal
29
+ - name : Run tests
30
+ run : dotnet test --configuration Release --no-build --verbosity normal
31
+
32
+ netframework :
33
+ runs-on : windows-latest
34
+ steps :
35
+ - name : Setup .NET Framework 4.6.2
36
+ uses : actions/setup-dotnet@v2
37
+ with :
38
+ dotnet-version : 4.6.2
39
+ - name : Build
40
+ run : msbuild HtmlToOpenXml.sln /p:Configuration=Release
41
+ - name : Run tests (NET Framework)
42
+ run : vstest.console.exe HtmlToOpenXml.Tests.dll
You can’t perform that action at this time.
0 commit comments