ci: skip the backup service test on the pipeline workspace
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline failed

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
This commit is contained in:
2026-09-12 00:51:47 +10:00
parent 03ac3bbc00
commit d8c7eb5d3d
+4 -36
View File
@@ -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