ci: correct Testcontainers exclusion filter
PR Checks / test-and-build (pull_request) Successful in 26m17s
PR Checks / test-and-build (pull_request) Successful in 26m17s
Exclude both by test class name and by xUnit collection name so the PostgreSQL-backed integration tests are reliably skipped on slow runners.
This commit is contained in:
@@ -96,5 +96,5 @@ jobs:
|
|||||||
# migrations before the default timeouts expire. These tests are still run
|
# migrations before the default timeouts expire. These tests are still run
|
||||||
# locally and can be executed manually with `dotnet test`.
|
# locally and can be executed manually with `dotnet test`.
|
||||||
dotnet test tests/GmRelay.Bot.Tests/GmRelay.Bot.Tests.csproj \
|
dotnet test tests/GmRelay.Bot.Tests/GmRelay.Bot.Tests.csproj \
|
||||||
--filter "FullyQualifiedName!~PortfolioMigrationPostgresTests&FullyQualifiedName!~CreateSessionHandlerIntegrationTests&FullyQualifiedName!~WizardDraftRepositoryTests&FullyQualifiedName!~DbSessionTriggerStoreTests" \
|
--filter "FullyQualifiedName!~PortfolioMigrationPostgresTests&FullyQualifiedName!~CreateSessionHandlerIntegrationTests&FullyQualifiedName!~WizardDraftRepositoryTests&FullyQualifiedName!~DbSessionTriggerStoreTests&Collection!~CreateSessionHandlerPostgresCollection" \
|
||||||
--verbosity normal
|
--verbosity normal
|
||||||
|
|||||||
Reference in New Issue
Block a user