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
This commit is contained in:
+4
-36
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user