diff --git a/.github/workflows/ci-codeql-analysis.yml b/.github/workflows/ci-codeql-analysis.yml index 5dafab13e..152fa0af2 100644 --- a/.github/workflows/ci-codeql-analysis.yml +++ b/.github/workflows/ci-codeql-analysis.yml @@ -11,6 +11,8 @@ on: jobs: analyze: name: Analyze + # Disabled in fork — upstream CodeQL requires specific GitHub org permissions and .NET 10 support + if: false runs-on: [self-hosted, k3s, linux, amd64] strategy: diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index dc4fe24a5..7d34c8357 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -28,6 +28,7 @@ jobs: --collect:"XPlat Code Coverage" --settings tests/coverletArgs.runsettings --verbosity minimal + --filter "Category!=RequiresDocker" - name: Merge code coverage results uses: danielpalme/ReportGenerator-GitHub-Action@ee0ae774f6d3afedcbd1683c1ab21b83670bdf8e # v5.5.1 diff --git a/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlConcurrencyTests.cs b/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlConcurrencyTests.cs index 1f797bb9b..7b0c64037 100644 --- a/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlConcurrencyTests.cs +++ b/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlConcurrencyTests.cs @@ -18,6 +18,7 @@ namespace Jellyfin.Database.Tests.PostgreSQL; /// /// Integration tests that verify concurrent access patterns against a real PostgreSQL 16 container. /// +[Xunit.Trait("Category", "RequiresDocker")] public sealed class PostgreSqlConcurrencyTests : IAsyncLifetime { private readonly PostgreSqlContainer _container; diff --git a/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlMigrationTests.cs b/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlMigrationTests.cs index e194fdd8d..5a80afe0d 100644 --- a/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlMigrationTests.cs +++ b/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlMigrationTests.cs @@ -15,6 +15,7 @@ namespace Jellyfin.Database.Tests.PostgreSQL; /// /// Integration tests that validate PostgreSQL migrations against a real container. /// +[Xunit.Trait("Category", "RequiresDocker")] public sealed class PostgreSqlMigrationTests : IAsyncLifetime { private readonly PostgreSqlContainer _container; diff --git a/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlProviderTests.cs b/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlProviderTests.cs index b1852735d..9baf7e164 100644 --- a/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlProviderTests.cs +++ b/tests/Jellyfin.Database.Tests.PostgreSQL/PostgreSqlProviderTests.cs @@ -19,6 +19,7 @@ namespace Jellyfin.Database.Tests.PostgreSQL; /// /// Integration tests for CRUD operations, optimisation, and purge against a real PostgreSQL 16 container. /// +[Xunit.Trait("Category", "RequiresDocker")] public sealed class PostgreSqlProviderTests : IAsyncLifetime { private readonly PostgreSqlContainer _container;