Jelajahi Sumber

Use more specific test command

Niels van Velzen 3 tahun lalu
induk
melakukan
e6c9add45a
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      .github/workflows/openapi.yml

+ 2 - 2
.github/workflows/openapi.yml

@@ -17,7 +17,7 @@ jobs:
         with:
         with:
           dotnet-version: '5.0.x'
           dotnet-version: '5.0.x'
       - name: Generate openapi.json
       - 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
       - name: Upload openapi.json
         uses: actions/upload-artifact@v2
         uses: actions/upload-artifact@v2
         with:
         with:
@@ -40,7 +40,7 @@ jobs:
         with:
         with:
           dotnet-version: '5.0.x'
           dotnet-version: '5.0.x'
       - name: Generate openapi.json
       - 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
       - name: Upload openapi.json
         uses: actions/upload-artifact@v2
         uses: actions/upload-artifact@v2
         with:
         with: