Skip to content

Merge pull request #30 from VisLab/main #50

Merge pull request #30 from VisLab/main

Merge pull request #30 from VisLab/main #50

Workflow file for this run

name: MATLAB CI
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
env:
BRANCH_NAME: ${{ github.event.pull_request.base.ref || github.ref_name }}
jobs:
matlab-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/hed-standard/hed-python.git@develop
- name: Run tests
uses: matlab-actions/run-command@v2
with:
command: |
addpath(genpath("hedmat")), addpath(genpath("tests")), run_tests