Skip to content

The Free Software Media System - Server Backend & API

Use more specific test command

Niels van Velzene6c9add45a9b
diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml
index 8bef8fa654..701e38fb2b 100644
--- a/.github/workflows/openapi.yml
+++ b/.github/workflows/openapi.yml
@@ -17,7 +17,7 @@ jobs:
with:
dotnet-version: '5.0.x'
- name: Generate openapi.json
- run: dotnet test -c Release --filter "Jellyfin.Server.Integration.Tests.OpenApiSpecTests"
+ run: dotnet test tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj -c Release --filter "Jellyfin.Server.Integration.Tests.OpenApiSpecTests"
- name: Upload openapi.json
uses: actions/upload-artifact@v2
with:
@@ -40,7 +40,7 @@ jobs:
with:
dotnet-version: '5.0.x'
- name: Generate openapi.json
- run: dotnet test -c Release --filter "Jellyfin.Server.Integration.Tests.OpenApiSpecTests"
+ run: dotnet test tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj -c Release --filter "Jellyfin.Server.Integration.Tests.OpenApiSpecTests"
- name: Upload openapi.json
uses: actions/upload-artifact@v2
with: