File tree Expand file tree Collapse file tree 5 files changed +50
-55
lines changed
System.IO.Abstractions.TestingHelpers
TestableIO.System.IO.Abstractions Expand file tree Collapse file tree 5 files changed +50
-55
lines changed Original file line number Diff line number Diff line change 3333 name : Code coverage ${{ matrix.os }}
3434 path : " **/coverage.cobertura.xml"
3535 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 }}
36+ name : API Test
37+ runs-on : ubuntu-latest
4238 steps :
4339 - name : Checkout sources
4440 uses : actions/checkout@v4
4844 uses : actions/setup-dotnet@v4
4945 with :
5046 dotnet-version : |
47+ 6.0.x
48+ 7.0.x
5149 8.0.x
50+ 9.0.x
51+ - name : Build solution
52+ run : dotnet build
5253 - name : Run tests
5354 run : dotnet test --filter FullyQualifiedName~TestableIO.System.IO.Abstractions.Api.Tests --logger "GitHubActions"
5455 coverage :
Original file line number Diff line number Diff line change 1919 <PackageIcon >icon_256x256.png</PackageIcon >
2020 </PropertyGroup >
2121 <ItemGroup >
22- <None Include =" ..\..\ images\ icon_256x256.png" Pack =" true" PackagePath =" \ " />
22+ <None Include =" $(SolutionDir)/ images/ icon_256x256.png" Pack =" true" PackagePath =" / " Link = " /icon_256x256.png " />
2323 </ItemGroup >
2424
2525 <ItemGroup >
2828 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2929 </PackageReference >
3030 </ItemGroup >
31-
31+
3232</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
2- <PropertyGroup >
3- <AssemblyName >System.IO.Abstractions.TestingHelpers</AssemblyName >
4- <RootNamespace >System.IO.Abstractions.TestingHelpers</RootNamespace >
5- <Description >A set of pre-built mocks to help when testing file system interactions.</Description >
6- <TargetFrameworks >net9.0;net8.0;net6.0;netstandard2.1;netstandard2.0;net472</TargetFrameworks >
7- <PackageIcon >icon_256x256.png</PackageIcon >
8- </PropertyGroup >
9- <ItemGroup >
10- <ProjectReference Include =" ..\TestableIO.System.IO.Abstractions.TestingHelpers\TestableIO.System.IO.Abstractions.TestingHelpers.csproj" />
11- </ItemGroup >
12- <ItemGroup >
13- <None Include =" ..\..\images\icon_256x256.png" Pack =" true" PackagePath =" \" />
14- </ItemGroup >
2+
3+ <PropertyGroup >
4+ <AssemblyName >System.IO.Abstractions.TestingHelpers</AssemblyName >
5+ <RootNamespace >System.IO.Abstractions.TestingHelpers</RootNamespace >
6+ <Description >A set of pre-built mocks to help when testing file system interactions.</Description >
7+ </PropertyGroup >
8+
9+ <ItemGroup >
10+ <ProjectReference Include =" ..\TestableIO.System.IO.Abstractions.TestingHelpers\TestableIO.System.IO.Abstractions.TestingHelpers.csproj" />
11+ </ItemGroup >
12+
1513</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
2- <PropertyGroup >
3- <AssemblyName >System.IO.Abstractions</AssemblyName >
4- <RootNamespace >System.IO.Abstractions</RootNamespace >
5- <Description >A set of abstractions to help make file system interactions testable.</Description >
6- <TargetFrameworks >net8.0;net6.0;netstandard2.1;netstandard2.0;net472</TargetFrameworks >
7- <PackageIcon >icon_256x256.png</PackageIcon >
8- </PropertyGroup >
9- <ItemGroup >
10- <ProjectReference Include =" ..\TestableIO.System.IO.Abstractions\TestableIO.System.IO.Abstractions.csproj" />
11- <ProjectReference Include =" ..\TestableIO.System.IO.Abstractions.Wrappers\TestableIO.System.IO.Abstractions.Wrappers.csproj" />
12- </ItemGroup >
13- <ItemGroup >
14- <None Include =" ..\..\images\icon_256x256.png" Pack =" true" PackagePath =" \" />
15- </ItemGroup >
2+
3+ <PropertyGroup >
4+ <AssemblyName >System.IO.Abstractions</AssemblyName >
5+ <RootNamespace >System.IO.Abstractions</RootNamespace >
6+ <Description >A set of abstractions to help make file system interactions testable.</Description >
7+ </PropertyGroup >
8+
9+ <ItemGroup >
10+ <ProjectReference Include =" ..\TestableIO.System.IO.Abstractions\TestableIO.System.IO.Abstractions.csproj" />
11+ <ProjectReference Include =" ..\TestableIO.System.IO.Abstractions.Wrappers\TestableIO.System.IO.Abstractions.Wrappers.csproj" />
12+ </ItemGroup >
13+
1614</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
2- <PropertyGroup >
3- <AssemblyName >TestableIO.System.IO.Abstractions</AssemblyName >
4- <RootNamespace >System.IO.Abstractions</RootNamespace >
5- <Description >A set of abstractions to help make file system interactions testable.</Description >
6- <TargetFrameworks >net9.0;net8.0;net6.0;netstandard2.1;netstandard2.0;net472</TargetFrameworks >
7- <PackageIcon >icon_256x256.png</PackageIcon >
8- <Nullable >enable</Nullable >
9- <LangVersion >preview</LangVersion >
10- </PropertyGroup >
11- <ItemGroup >
12- <PackageReference Include =" Nullable" >
13- <PrivateAssets >all</PrivateAssets >
14- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
15- </PackageReference >
16- <PackageReference Include =" Testably.Abstractions.FileSystem.Interface" />
17- </ItemGroup >
18- <ItemGroup >
19- <None Include =" ..\..\images\icon_256x256.png" Pack =" true" PackagePath =" \" />
20- </ItemGroup >
21- </Project >
2+
3+ <PropertyGroup >
4+ <AssemblyName >TestableIO.System.IO.Abstractions</AssemblyName >
5+ <RootNamespace >System.IO.Abstractions</RootNamespace >
6+ <Description >A set of abstractions to help make file system interactions testable.</Description >
7+ <Nullable >enable</Nullable >
8+ <LangVersion >preview</LangVersion >
9+ </PropertyGroup >
10+
11+ <ItemGroup >
12+ <PackageReference Include =" Nullable" >
13+ <PrivateAssets >all</PrivateAssets >
14+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
15+ </PackageReference >
16+ <PackageReference Include =" Testably.Abstractions.FileSystem.Interface" />
17+ </ItemGroup >
18+
19+ </Project >
You can’t perform that action at this time.
0 commit comments