Update paper.md #57
This file contains hidden or 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: MATLAB Tests | |
| # Controls when the action will run. | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the main branch | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| # Use a Linux-based runner for the job | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Step 1: Checkout the repository | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| # Step 2: Set up MATLAB | |
| - name: Setup MATLAB | |
| uses: matlab-actions/setup-matlab@v1 | |
| # Step 3: Run the MATLAB test script | |
| #- name: Run MATLAB tests | |
| # run: | | |
| # matlab -batch "run('runtests.m');" | |
| # Runs a set of commands using the runners shell | |
| - name: Run all tests | |
| uses: matlab-actions/run-tests@v1 | |
| with: | |
| source-folder: src |