Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions .github/workflows/setup-and-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
source-folder: src
- name: Verify complete success
if: ${{ failure() }}
run: echo "::error::Setup and/or tests failed"
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading