Skip to content

Move tests in subdirectories to archived test folder #6

Move tests in subdirectories to archived test folder

Move tests in subdirectories to archived test folder #6

name: Run MATLAB Tests on GitHub-Hosted Runner
on: [push]
jobs:
my-job:
name: Run MATLAB Tests and Generate Artifacts
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v1
- name: Add paths
uses: matlab-actions/run-command@v1
with:
command: addpath(genpath("src"))
- name: Run MATLAB Tests
uses: matlab-actions/run-tests@v1.5.2
with:
test-results-junit: test-results/results.xml
code-coverage-cobertura: code-coverage/coverage.xml
source-folder: src