Skip to content

Commit

Permalink
try to create a matrix of test
Browse files Browse the repository at this point in the history
  • Loading branch information
enigne authored Jul 20, 2024
1 parent 4501747 commit 7baf86f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7baf86f

Please sign in to comment.