diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d08690638..638b2c4cb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,7 +20,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
- dotnet-version: |
+ dotnet-version: |
6.0.x
7.0.x
8.0.x
@@ -32,9 +32,29 @@ jobs:
with:
name: Code coverage ${{ matrix.os }}
path: "**/coverage.cobertura.xml"
+ api-test:
+ name: API Test
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout sources
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v4
+ with:
+ dotnet-version: |
+ 6.0.x
+ 7.0.x
+ 8.0.x
+ 9.0.x
+ - name: Build solution
+ run: dotnet build
+ - name: Run tests
+ run: dotnet test --filter FullyQualifiedName~TestableIO.System.IO.Abstractions.Api.Tests --logger "GitHubActions"
coverage:
name: Coverage
- needs: [test]
+ needs: [test, api-test]
runs-on: ubuntu-latest
steps:
- name: Checkout sources
@@ -67,7 +87,7 @@ jobs:
coverage-reports: coverage-report/Cobertura.xml
pack:
name: Pack
- needs: [test]
+ needs: [test, api-test]
runs-on: ubuntu-latest
steps:
- name: Checkout sources
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index edec72d8b..594dcab3d 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -19,7 +19,7 @@
icon_256x256.png
-
+
@@ -28,5 +28,5 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
diff --git a/src/System.IO.Abstractions/System.IO.Abstractions.csproj b/src/System.IO.Abstractions/System.IO.Abstractions.csproj
index 044581f9a..931a4b5e1 100644
--- a/src/System.IO.Abstractions/System.IO.Abstractions.csproj
+++ b/src/System.IO.Abstractions/System.IO.Abstractions.csproj
@@ -1,14 +1,14 @@
-
-
- System.IO.Abstractions
- System.IO.Abstractions
- A set of abstractions to help make file system interactions testable.
-
-
-
-
-
-
-
+
+
+ System.IO.Abstractions
+ System.IO.Abstractions
+ A set of abstractions to help make file system interactions testable.
+
+
+
+
+
+
+