Revert "Introduce new GitHub Action for running toolbox unit tests." #13
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 | |
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: Package mltbx | |
# uses: matlab-actions/run-command@v1.0.1 | |
# with: | |
# # Package mltbx file. Ensure that mltbx file exists before returning. | |
# command: matlab.addons.toolbox.packageToolbox('rvc3setup.prj'), assert(exist('RVC3.mltbx', 'file')); | |
- name: Run MATLAB Tests | |
# Change folder to book tests | |
uses: matlab-actions/run-tests@v1 | |
with: | |
select-by-folder: test/book |