Bump matlab-actions/setup-matlab from 2.3.0 to 2.3.1 #277
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: tests and coverage with matlab | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: ['*'] | |
schedule: | |
- cron: 1 1 1 * * | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
tests_matlab: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-13, windows-latest] | |
version: [R2021a, R2023b] | |
include: | |
- os: macos-14 | |
version: R2023b | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Install MATLAB | |
uses: matlab-actions/[email protected] | |
with: | |
release: ${{matrix.version}} | |
- name: Install CPP_ROI | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Install SPM | |
run: | | |
git clone https://github.com/spm/spm12.git --depth 1 | |
- name: Install Moxunit and MOcov | |
run: | | |
git clone https://github.com/MOxUnit/MOxUnit.git --depth 1 | |
git clone https://github.com/MOcov/MOcov.git --depth 1 | |
- name: Add bids-matlab | |
run: make install_dev | |
- name: Run tests | |
uses: matlab-actions/[email protected] | |
with: | |
command: cd(fullfile(getenv('GITHUB_WORKSPACE'), '.github', 'workflows')); run tests_matlab; | |
- name: Code coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
file: coverage.xml | |
flags: ${{ matrix.os }}_matlab-${{ matrix.version }} | |
name: codecov-umbrella | |
fail_ci_if_error: false |