Run all book tests #1
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: Run all book tests | |
on: | |
# Automatically run this action when a new push is made to repo | |
push: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
my-job: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out RVC3-MATLAB repository (for unit tests) | |
uses: actions/checkout@v3 | |
- run: echo "The ${{ github.repository }} repository has been cloned to the runner." | |
- name: Set up MATLAB | |
# This uses the latest release of MATLAB. Can specify "release" if needed. | |
uses: matlab-actions/setup-matlab@v1 | |
- name: Run MATLAB Tests | |
# Only run tests in folder test/book | |
uses: matlab-actions/run-tests@v1 | |
with: | |
select-by-folder: test/book | |
code-coverage-cobertura: code-coverage/coverage.xml |