Skip to content

Commit 6cf0169

Browse files
committed
add support for .NET Framework
1 parent 2ea1eff commit 6cf0169

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ jobs:
1818
with:
1919
fetch-depth: 0
2020
- name: Run tests
21-
run: dotnet test --verbosity normal --collect:"XPlat Code Coverage"
21+
run: dotnet test --collect:"XPlat Code Coverage"
22+
- name: Upload snapshots
23+
uses: actions/upload-artifact@v2
24+
with:
25+
name: Snapshots ${{ matrix.os }}
26+
path: "**/*.snap"
2227
- name: Upload coverage
2328
uses: actions/upload-artifact@v2
2429
with:

tests/System.IO.Abstractions.Tests/ApiCompletenessTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ public ApiDiff(IEnumerable<string> extraMembers, IEnumerable<string> missingMemb
9797
private const string snapshotSuffix = ".NET Core 3.1";
9898
#elif NETCOREAPP2_1
9999
private const string snapshotSuffix = ".NET Core 2.1";
100+
#elif NET461
101+
private const string snapshotSuffix = ".NET Framework 4.6.1";
100102
#else
101103
#error Unknown target framework.
102104
#endif

0 commit comments

Comments
 (0)