From ff38dff9c9f8da6d8779f867a542362a1703b593 Mon Sep 17 00:00:00 2001 From: Gino Canessa Date: Mon, 9 Sep 2024 09:56:05 -0500 Subject: [PATCH] Temporarily remove MacOS from unit test matrix. Allow unit tests parallelization (should work with cached dependencies). --- .github/workflows/build-and-test.yml | 3 ++- src/Microsoft.Health.Fhir.CodeGen.Tests/xunit.runner.json | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 78f32a691..7d5538b80 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -59,7 +59,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] + os: [ubuntu-latest, windows-latest] + # os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v4 diff --git a/src/Microsoft.Health.Fhir.CodeGen.Tests/xunit.runner.json b/src/Microsoft.Health.Fhir.CodeGen.Tests/xunit.runner.json index 4a5913dcc..d53abb00b 100644 --- a/src/Microsoft.Health.Fhir.CodeGen.Tests/xunit.runner.json +++ b/src/Microsoft.Health.Fhir.CodeGen.Tests/xunit.runner.json @@ -1,6 +1,6 @@ { - "maxParallelThreads": 1, + "maxParallelThreads": 5, "parallelAlgorithm": "conservative", - "parallelizeAssembly": false, - "parallelizeTestCollections": false + "parallelizeAssembly": true, + "parallelizeTestCollections": true }