File tree Expand file tree Collapse file tree 2 files changed +24
-5
lines changed
tests/TestableIO.System.IO.Abstractions.Api.Tests Expand file tree Collapse file tree 2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -20,21 +20,40 @@ jobs:
2020 - name : Setup .NET
2121 uses : actions/setup-dotnet@v4
2222 with :
23- dotnet-version : |
23+ dotnet-version : |
2424 6.0.x
2525 7.0.x
2626 8.0.x
2727 9.0.x
2828 - name : Run tests
29- run : dotnet test --collect:"XPlat Code Coverage" --logger "GitHubActions"
29+ run : dotnet test --filter FullyQualifiedName\!~TestableIO.System.IO.Abstractions.Api.Tests -- collect:"XPlat Code Coverage" --logger "GitHubActions"
3030 - name : Upload coverage
3131 uses : actions/upload-artifact@v4
3232 with :
3333 name : Code coverage ${{ matrix.os }}
3434 path : " **/coverage.cobertura.xml"
35+ api-test :
36+ name : Test
37+ strategy :
38+ fail-fast : false
39+ matrix :
40+ os : [ubuntu-latest, windows-latest, macos-latest]
41+ runs-on : ${{ matrix.os }}
42+ steps :
43+ - name : Checkout sources
44+ uses : actions/checkout@v4
45+ with :
46+ fetch-depth : 0
47+ - name : Setup .NET
48+ uses : actions/setup-dotnet@v4
49+ with :
50+ dotnet-version : |
51+ 9.0.x
52+ - name : Run tests
53+ run : dotnet test --filter FullyQualifiedName~TestableIO.System.IO.Abstractions.Api.Tests --logger "GitHubActions"
3554 coverage :
3655 name : Coverage
37- needs : [test]
56+ needs : [test, api-test ]
3857 runs-on : ubuntu-latest
3958 steps :
4059 - name : Checkout sources
6786 coverage-reports : coverage-report/Cobertura.xml
6887 pack :
6988 name : Pack
70- needs : [test]
89+ needs : [test, api-test ]
7190 runs-on : ubuntu-latest
7291 steps :
7392 - name : Checkout sources
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net8 .0</TargetFrameworks >
4+ <TargetFrameworks >net9 .0</TargetFrameworks >
55 </PropertyGroup >
66
77 <ItemGroup >
You can’t perform that action at this time.
0 commit comments