From 7baf86f0057dcf869ae835b8de5ed357bb7e692b Mon Sep 17 00:00:00 2001 From: Cheng Gong Date: Sat, 20 Jul 2024 14:12:57 -0400 Subject: [PATCH] try to create a matrix of test --- .github/workflows/c-cpp.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index db46a6bdb..3b9771c10 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -80,6 +80,10 @@ jobs: test: runs-on: ubuntu-latest needs: build + strategy: + fail-fast: false + matrix: + test-cases: [101:110, 201:210, 301:310] steps: - name: Download ISSM artifact uses: actions/download-artifact@v4 @@ -113,7 +117,7 @@ jobs: devpath; % Run tests - runme('exclude',[IdFromString('Dakota')],'id',101:110,'quitonerror',1); + runme('exclude',[IdFromString('Dakota')],'id',${{matrix.test-cases}},'quitonerror',1); quit(0); EOF cat ${ISSM_DIR}/matlab_ci.m