Matlab Examples #1
Workflow file for this run
This file contains 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
# Run the tests | |
--- | |
name: Test | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup docker | |
if: runner.os == 'macos' | |
run: | | |
brew install docker | |
brew install docker-compose | |
- name: Symlink (compose is now a cli-plugins) | |
if: runner.os == 'macos' | |
run: | | |
mkdir -p ~/.docker/cli-plugins | |
ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose | |
- name: Start docker | |
if: runner.os == 'macos' | |
run: colima start | |
- name: Run matlab tests | |
if: runner.os != 'windows' | |
run: | | |
docker run -t openmicroscopy/bio-formats-octave src/main/matlab/bftest.m |