@@ -11,15 +11,12 @@ jobs:
11
11
- uses : actions/setup-dotnet@v3
12
12
with :
13
13
dotnet-version : |
14
- 3.1.x
15
- 6.0.x
14
+ 7.0.x
16
15
- run : dotnet restore src/NetMQ.sln
17
16
- name : build
18
17
run : dotnet build src/NetMQ.sln /p:Configuration=Release /verbosity:minimal
19
- - name : test netcoreapp3.1
20
- run : dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f netcoreapp3.1 src/NetMQ.Tests/NetMQ.Tests.csproj
21
- - name : test net6.0
22
- run : dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net6.0 src/NetMQ.Tests/NetMQ.Tests.csproj
18
+ - name : test net7.0
19
+ run : dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net7.0 src/NetMQ.Tests/NetMQ.Tests.csproj
23
20
windows :
24
21
runs-on : windows-latest
25
22
env :
@@ -29,22 +26,19 @@ jobs:
29
26
- uses : actions/setup-dotnet@v3
30
27
with :
31
28
dotnet-version : |
32
- 3.1.x
33
- 6.0.x
29
+ 7.0.x
34
30
- name : Install codecov
35
31
run : |
36
32
choco install opencover.portable
37
33
choco install codecov
38
34
- run : dotnet restore src/NetMQ.sln
39
35
- name : build
40
36
run : dotnet build src/NetMQ.sln /p:Configuration=Release /verbosity:minimal
41
- - name : test net6.0
42
- run : dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net6.0 src\NetMQ.Tests\NetMQ.Tests.csproj
43
- - name : test netcoreapp3.1
44
- run : dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f netcoreapp3.1 src\NetMQ.Tests\NetMQ.Tests.csproj
45
- - name : test net47
46
- run : dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net47 src\NetMQ.Tests\NetMQ.Tests.csproj
37
+ - name : test net7.0
38
+ run : dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net7.0 src\NetMQ.Tests\NetMQ.Tests.csproj
39
+ - name : test net48
40
+ run : dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net48 src\NetMQ.Tests\NetMQ.Tests.csproj
47
41
- name : coverage
48
42
run : |
49
- OpenCover.Console.exe -register:user -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test --no-build --configuration Release -f net6 .0 --logger:trx;LogFileName=results.trx /p:DebugType=full src\NetMQ.Tests\NetMQ.Tests.csproj" -filter:"+[NetMQ*]* -[NetMQ.Tests*]*" -output:".\NetMQ_coverage.xml" -oldStyle
43
+ OpenCover.Console.exe -register:user -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test --no-build --configuration Release -f net7 .0 --logger:trx;LogFileName=results.trx /p:DebugType=full src\NetMQ.Tests\NetMQ.Tests.csproj" -filter:"+[NetMQ*]* -[NetMQ.Tests*]*" -output:".\NetMQ_coverage.xml" -oldStyle
50
44
codecov -f "NetMQ_coverage.xml"
0 commit comments