Update run_book_tests.yml #2
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: Check swing | |
uses: matlab-actions/run-command@v1 | |
with: | |
command: uses('swing') | |
- 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 |