Merge branch 'pr/33' #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: [push] | |
jobs: | |
test_on_ubuntu: | |
name: test_on_ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Set up MATLAB | |
uses: matlab-actions/setup-matlab@v1 | |
- name: Run tests and generate artifacts | |
uses: matlab-actions/run-tests@v1 | |
with: | |
test-results-junit: test-results/results.xml | |
code-coverage-cobertura: code-coverage/coverage.xml | |
- name: Run script | |
uses: matlab-actions/run-command@v1 | |
with: | |
command: addpath('Tests'),test |