Fix getCurrentCOM #63
Workflow file for this run
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: Run all Bpod tests | |
| # Triggers for running the workflow | |
| on: | |
| push: | |
| branches: [master, develop] | |
| pull_request: | |
| branches: [master, develop] | |
| # Allows running workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| test-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checks-out repo under $GITHUB_WORKSPACE, so job can access it | |
| - uses: actions/checkout@v4 | |
| # Sets up MATLAB on a GitHub-hosted runner | |
| - name: Set up MATLAB | |
| uses: matlab-actions/setup-matlab@v2 | |
| # Prepare some pathing and folders to allow it to run | |
| - name: Setup environment | |
| uses: matlab-actions/run-command@v2 | |
| with: | |
| command: addpath('Tests'); setupGithubEnvironment; | |
| # Runs a set of commands using the runners shell | |
| - name: Run all tests | |
| uses: matlab-actions/run-tests@v2 | |
| with: | |
| source-folder: Functions/ | |
| select-by-folder: Tests/BpodLib/ | |
| test-windows: | |
| runs-on: windows-latest | |
| steps: | |
| # Checks-out repo under $GITHUB_WORKSPACE, so job can access it | |
| - uses: actions/checkout@v4 | |
| # Sets up MATLAB on a GitHub-hosted runner | |
| - name: Set up MATLAB | |
| uses: matlab-actions/setup-matlab@v2 | |
| # Prepare some pathing and folders to allow it to run | |
| - name: Setup environment | |
| uses: matlab-actions/run-command@v2 | |
| with: | |
| command: addpath('Tests'); setupGithubEnvironment; | |
| # Runs a set of commands using the runners shell | |
| - name: Run all tests | |
| uses: matlab-actions/run-tests@v2 | |
| with: | |
| source-folder: Functions/ | |
| select-by-folder: Tests/BpodLib/ |