From c0f708f044fabdad4e19fcbfa6e862f1eea261e7 Mon Sep 17 00:00:00 2001 From: cianciosa Date: Thu, 21 Nov 2024 15:07:04 -0500 Subject: [PATCH] Enable parallel testing --- .github/workflows/ci_test.yaml | 10 ++++++++-- .github/workflows/ci_test_master.yaml | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_test.yaml b/.github/workflows/ci_test.yaml index 821b65b..a54bae8 100644 --- a/.github/workflows/ci_test.yaml +++ b/.github/workflows/ci_test.yaml @@ -55,10 +55,16 @@ jobs: shell: bash working-directory: ${{runner.workspace}}/Stellarator-Tools/build run: make -j VERBOSE=1 - - name: Test + - name: Test Mac + if: ${{matrix.os == 'macos-latest'}} + shell: bash + working-directory: ${{runner.workspace}}/Stellarator-Tools/build + run: make test ARGS=-j3 + - name: Test Linux + if: ${{matrix.os == 'ubuntu-latest'}} shell: bash working-directory: ${{runner.workspace}}/Stellarator-Tools/build - run: make test + run: make test ARGS=-j2 - name: Show Log if: failure() shell: bash diff --git a/.github/workflows/ci_test_master.yaml b/.github/workflows/ci_test_master.yaml index be82e1d..a5a92ed 100644 --- a/.github/workflows/ci_test_master.yaml +++ b/.github/workflows/ci_test_master.yaml @@ -55,10 +55,16 @@ jobs: shell: bash working-directory: ${{runner.workspace}}/Stellarator-Tools/build run: make -j VERBOSE=1 - - name: Test + - name: Test Mac + if: ${{matrix.os == 'macos-latest'}} + shell: bash + working-directory: ${{runner.workspace}}/Stellarator-Tools/build + run: make test ARGS=-j3 + - name: Test Linux + if: ${{matrix.os == 'ubuntu-latest'}} shell: bash working-directory: ${{runner.workspace}}/Stellarator-Tools/build - run: make test + run: make test ARGS=-j2 - name: Show Log if: failure() shell: bash