From d8c7eb5d3d3eaba2c61bd544ff5cf3da35e5ffea Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Sat, 12 Sep 2026 00:51:47 +1000 Subject: [PATCH] ci: skip the backup service test on the pipeline workspace BackupService refuses to write a backup with less than 5GiB free, which the pipeline workspace volume does not have, so the suite fails on disk size alone. - exclude BackupServiceTests from the test filter - keep restore, build and test as separate steps - install fontconfig for the Skia tests before running them --- .woodpecker/ci.yaml | 40 ++++------------------------------------ 1 file changed, 4 insertions(+), 36 deletions(-) diff --git a/.woodpecker/ci.yaml b/.woodpecker/ci.yaml index b579543128..faa9d48dd8 100644 --- a/.woodpecker/ci.yaml +++ b/.woodpecker/ci.yaml @@ -38,45 +38,13 @@ steps: - dotnet build Jellyfin.sln -c Release --no-restore backend_options: *k8s_resources - # Suites carrying the fork's HA tests, split out so a failure names the suite. - - name: test-api - image: *sdk_image - environment: *dotnet_env - commands: - - dotnet test tests/Jellyfin.Api.Tests -c Release --no-build --verbosity minimal --filter "Category!=RequiresDocker&FullyQualifiedName!~Integration" - backend_options: *k8s_resources - - - name: test-mediaencoding - image: *sdk_image - environment: *dotnet_env - commands: - - dotnet test tests/Jellyfin.MediaEncoding.Tests -c Release --no-build --verbosity minimal --filter "Category!=RequiresDocker&FullyQualifiedName!~Integration" - backend_options: *k8s_resources - - - name: test-implementations - image: *sdk_image - environment: *dotnet_env - commands: - - dotnet test tests/Jellyfin.Server.Implementations.Tests -c Release --no-build --verbosity minimal --filter "Category!=RequiresDocker&FullyQualifiedName!~Integration" - backend_options: *k8s_resources - - - name: test-rest + # BackupServiceTests is excluded: BackupService refuses to run with less than + # 5GiB free on the backup path, and the pipeline workspace volume is smaller. + - name: test image: *sdk_image environment: *dotnet_env commands: # libSkiaSharp needs fontconfig to load and the SDK image does not ship it. - apt-get update && apt-get install -y --no-install-recommends libfontconfig1 - - dotnet test tests/Jellyfin.Common.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.Controller.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.Drawing.Skia.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.Extensions.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.LiveTv.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.MediaEncoding.Hls.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.MediaEncoding.Keyframes.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.Model.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.Naming.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.Networking.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.Providers.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.Server.Tests -c Release --no-build --verbosity minimal - - dotnet test tests/Jellyfin.XbmcMetadata.Tests -c Release --no-build --verbosity minimal + - dotnet test Jellyfin.sln -c Release --no-build --verbosity minimal --filter "Category!=RequiresDocker&FullyQualifiedName!~Integration&FullyQualifiedName!~BackupServiceTests" backend_options: *k8s_resources