Skip to content

cd to neurocode before tests #3

cd to neurocode before tests

cd to neurocode before tests #3

Workflow file for this run

name: MATLAB CI
on:
push:
branches:
- add-CI
pull_request:
branches:
- add-CI
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v1
- name: Run MATLAB tests
run: |
cd neurocode
matlab -batch "addpath(genpath('.')); results = runtests('test', 'IncludeSubfolders', true); assertSuccess(results);"