File tree Expand file tree Collapse file tree 3 files changed +37
-17
lines changed Expand file tree Collapse file tree 3 files changed +37
-17
lines changed Original file line number Diff line number Diff line change 20
20
- name : Setup .NET
21
21
uses : actions/setup-dotnet@v4
22
22
with :
23
- dotnet-version : |
23
+ dotnet-version : |
24
24
6.0.x
25
25
7.0.x
26
26
8.0.x
32
32
with :
33
33
name : Code coverage ${{ matrix.os }}
34
34
path : " **/coverage.cobertura.xml"
35
+ api-test :
36
+ name : API Test
37
+ runs-on : ubuntu-latest
38
+ steps :
39
+ - name : Checkout sources
40
+ uses : actions/checkout@v4
41
+ with :
42
+ fetch-depth : 0
43
+ - name : Setup .NET
44
+ uses : actions/setup-dotnet@v4
45
+ with :
46
+ dotnet-version : |
47
+ 6.0.x
48
+ 7.0.x
49
+ 8.0.x
50
+ 9.0.x
51
+ - name : Build solution
52
+ run : dotnet build
53
+ - name : Run tests
54
+ run : dotnet test --filter FullyQualifiedName~TestableIO.System.IO.Abstractions.Api.Tests --logger "GitHubActions"
35
55
coverage :
36
56
name : Coverage
37
- needs : [test]
57
+ needs : [test, api-test ]
38
58
runs-on : ubuntu-latest
39
59
steps :
40
60
- name : Checkout sources
67
87
coverage-reports : coverage-report/Cobertura.xml
68
88
pack :
69
89
name : Pack
70
- needs : [test]
90
+ needs : [test, api-test ]
71
91
runs-on : ubuntu-latest
72
92
steps :
73
93
- name : Checkout sources
Original file line number Diff line number Diff line change 19
19
<PackageIcon >icon_256x256.png</PackageIcon >
20
20
</PropertyGroup >
21
21
<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 " />
23
23
</ItemGroup >
24
24
25
25
<ItemGroup >
28
28
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
29
29
</PackageReference >
30
30
</ItemGroup >
31
-
31
+
32
32
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
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
-
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
+
14
14
</Project >
You can’t perform that action at this time.
0 commit comments