diff --git a/.github/workflows/setup-and-run-tests.yml b/.github/workflows/setup-and-run-tests.yml index 7cb95504..708e4e1f 100644 --- a/.github/workflows/setup-and-run-tests.yml +++ b/.github/workflows/setup-and-run-tests.yml @@ -3,33 +3,36 @@ on: [push] jobs: my-job: name: Run MATLAB Tests and Generate Artifacts - runs-on: ubuntu-latest continue-on-error: true strategy: matrix: - release: [R2023a - #, R2023b TODO: There is currently a bug affecting one test on R2023b - ] + os: [ubuntu-latest, windows-latest] + release: [R2023b, R2024a, latest] + runs-on: ${{ matrix.os }} steps: - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: Set up MATLAB - uses: matlab-actions/setup-matlab@v1 + uses: matlab-actions/setup-matlab@v3 with: + products: > + Global_Optimization_Toolbox + Parallel_Computing_Toolbox + SimBiology + Symbolic_Math_Toolbox release: ${{ matrix.release }} - - name: Add paths - uses: matlab-actions/run-command@v1 - with: - command: addpath(genpath("src")) - name: Install (setup) - uses: matlab-actions/run-command@v1 + uses: matlab-actions/run-command@v3 with: command: install(0,0,1,1) - name: Run MATLAB Tests - uses: matlab-actions/run-tests@v1.5.2 + uses: matlab-actions/run-tests@v3 with: select-by-folder: tests select-by-name: '^(?!testGui$).*' test-results-junit: test-results/results.xml code-coverage-cobertura: code-coverage/coverage.xml - source-folder: src \ No newline at end of file + source-folder: src + - name: Verify complete success + if: ${{ failure() }} + run: echo "::error::Setup and/or tests failed" diff --git a/README.md b/README.md index 28e0540b..605b0ff8 100644 --- a/README.md +++ b/README.md @@ -48,11 +48,10 @@ The SSIT allows users to specify and solve the **Chemical Master Equation** (CME # Dependencies For all basic functionalities: - MATLAB R2023b or later -- Symbolic Computing Toolbox -- Image Processing Toolbox -- Global Optimization Toolbox (for model fitting only) -- Parallel Computing Toolbox (optional). -- SimBiology Toolbox (for loading/saving SBML models only) + - Symbolic Computing Toolbox + - Global Optimization Toolbox (for model fitting only) + - Parallel Computing Toolbox (optional). + - SimBiology Toolbox (for loading/saving SBML models only) # Installation and Testing Clone this package to a local folder on your computer. Then, navigate to this new folder in matlab and run the installation script from the MATLAB command window.