From bfba0e78bf2014da027086e3fb983eafb66acaa7 Mon Sep 17 00:00:00 2001 From: Valters Melnalksnis Date: Fri, 24 Jun 2022 16:47:00 +0300 Subject: [PATCH] fix: Stop integration tests from running in parallel --- .github/workflows/test.yml | 2 -- .../ServiceProviderFixture.cs | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d4bf6ee..6735a32 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,8 +37,6 @@ jobs: -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=opencover - -p:BuildInParallel=false - -m:1 --configuration Release --no-build env: diff --git a/tests/VMelnalksnis.NordigenDotNet.Tests.Integration/ServiceProviderFixture.cs b/tests/VMelnalksnis.NordigenDotNet.Tests.Integration/ServiceProviderFixture.cs index fa95ad7..f133a5e 100644 --- a/tests/VMelnalksnis.NordigenDotNet.Tests.Integration/ServiceProviderFixture.cs +++ b/tests/VMelnalksnis.NordigenDotNet.Tests.Integration/ServiceProviderFixture.cs @@ -16,6 +16,8 @@ using VMelnalksnis.NordigenDotNet.DependencyInjection; using Xunit.Abstractions; +[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly)] + namespace VMelnalksnis.NordigenDotNet.Tests.Integration; [UsedImplicitly(ImplicitUseKindFlags.InstantiatedNoFixedConstructorSignature)]