when: - event: pull_request - event: push steps: # Restore, build and test the full solution. global.json pins the .NET 9 # SDK (9.0.0, rollForward latestMinor), so build on the 9.0 SDK image. - name: build-test image: mcr.microsoft.com/dotnet/sdk:9.0 commands: - dotnet --info - dotnet restore Jellyfin.sln - dotnet build Jellyfin.sln -c Release --no-restore - dotnet test Jellyfin.sln -c Release --no-build --verbosity minimal --filter "Category!=RequiresDocker&FullyQualifiedName!~Integration" backend_options: kubernetes: serviceAccountName: jellyfin-ha-src resources: requests: memory: 2Gi cpu: 2 limits: memory: 6Gi cpu: 4