@@ -38,11 +38,11 @@ jobs:
38
38
dotnet --list-sdks >> $GITHUB_ENV
39
39
echo "EOF" >> $GITHUB_ENV
40
40
41
- - name : Setup .NET 6, 7, 8
41
+ - name : Setup .NET 8,9
42
42
uses : actions/setup-dotnet@v3
43
- if : contains(env.DOTNET_VERSION_LIST, '6.0.') == 'false' || contains(env.DOTNET_VERSION_LIST, '7 .0.') == 'false' || contains(env.DOTNET_VERSION_LIST, '8.0.') == 'false'
43
+ if : contains(env.DOTNET_VERSION_LIST, '9 .0.') == 'false' || contains(env.DOTNET_VERSION_LIST, '8.0.') == 'false'
44
44
with :
45
- dotnet-version : " 6 \n 7 \n 8 \n "
45
+ dotnet-version : " 8 \n 9 \n "
46
46
47
47
- name : Setup .NET 4.8.1 if on windows
48
48
uses : actions/setup-dotnet@v3
@@ -85,27 +85,28 @@ jobs:
85
85
run : dotnet build --maxcpucount:1 -c Release
86
86
if : matrix.os == 'windows-latest'
87
87
88
- - name : Build for .NET 8, 6
89
- run : dotnet build --maxcpucount:1 -c Release --framework net6.0 net8.0
88
+ - name : Build for .NET 8, 9
89
+ # run: dotnet build --maxcpucount:1 -c Release --framework net8.0 net9.0
90
+ run : dotnet build --maxcpucount:1 -c Release --framework net8.0
90
91
if : matrix.os != 'windows-latest'
91
92
92
- - name : Test .NET 6, 8 without Coverage
93
+ - name : Test .NET 8, ? without Coverage
93
94
if : matrix.os != 'windows-latest'
94
95
run : |
95
- dotnet test -c Release --framework net6.0
96
96
dotnet test -c Release --framework net8.0
97
+ # dotnet test -c Release --framework net9.0
97
98
98
99
- uses : actions/upload-artifact@v3
99
100
if : failure()
100
101
with :
101
102
name : TestResults-${{matrix.os}}-${{ env.ARTIFACT_VERSION }}
102
103
path : TestResults/
103
104
104
- - name : Test .NET 8, 6 , and 4.8.1 with Coverage
105
+ - name : Test .NET 8, SKIP 9 , and 4.8.1 with Coverage
105
106
if : matrix.os == 'windows-latest'
106
107
run : |
107
108
dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/coverage.net48.opencover.xml --framework net48
108
- dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/coverage.net6 .opencover.xml --framework net6 .0
109
+ # dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/coverage.net9 .opencover.xml --framework net9 .0
109
110
dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/coverage.net8.opencover.xml --framework net8.0
110
111
111
112
- name : Upload coverage to Codecov
0 commit comments