File tree Expand file tree Collapse file tree 3 files changed +21
-6
lines changed
BitFaster.Caching.UnitTests Expand file tree Collapse file tree 3 files changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,28 @@ jobs:
6969 with :
7070 name : test-results-win6-std
7171 path : BitFaster.Caching.UnitTests.Std/TestResults/results6.trx
72+
73+ - name : Test (9.0)
74+ run : dotnet test --no-restore --verbosity normal -f net9.0 /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov --logger "trx;LogFileName=results9.trx"
75+ - name : Upload test results (9.0)
76+ uses : actions/upload-artifact@v4 # upload test results
77+ if : success() || failure() # run this step even if previous step failed
78+ with :
79+ name : test-results-win9
80+ path : BitFaster.Caching.UnitTests/TestResults/results9.trx
81+ - name : Upload test results (9.0 .NET Std)
82+ uses : actions/upload-artifact@v4
83+ if : success() || failure()
84+ with :
85+ name : test-results-win9-std
86+ path : BitFaster.Caching.UnitTests.Std/TestResults/results9.trx
7287
73- - name : Publish coverage report to coveralls.io (6 .0)
88+ - name : Publish coverage report to coveralls.io (9 .0)
7489 uses : coverallsapp/github-action@master
7590 with :
7691 github-token : ${{ secrets.GITHUB_TOKEN }}
77- path-to-lcov : BitFaster.Caching.UnitTests/TestResults/coverage.net6 .0.info
78- flag-name : win6
92+ path-to-lcov : BitFaster.Caching.UnitTests/TestResults/coverage.net9 .0.info
93+ flag-name : win9
7994 parallel : true
8095
8196 - name : Publish NuGet artifacts
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net48;netcoreapp3.1; net6.0</TargetFrameworks >
5- <LangVersion >9 .0</LangVersion >
4+ <TargetFrameworks >net48;net6.0</TargetFrameworks >
5+ <LangVersion >10 .0</LangVersion >
66 </PropertyGroup >
77
88 <ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netstandard2.0;netcoreapp3.1;net6.0</TargetFrameworks >
4+ <TargetFrameworks >netstandard2.0;netcoreapp3.1;net6.0;net9.0 </TargetFrameworks >
55 <LangVersion >11.0</LangVersion >
66 <Authors >Alex Peck</Authors >
77 <Company />
You can’t perform that action at this time.
0 commit comments