which: handle multi-paths correctly and add test #381
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: ci | |
| on: | |
| push: | |
| paths: | |
| - "**.m" | |
| - ".github/workflows/ci.yml" | |
| jobs: | |
| matlab: | |
| timeout-minutes: 15 | |
| runs-on: ${{ matrix.os }} | |
| # R2022b has a bug with test parameter {"h"} syntax | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| release: [R2021a, R2023a, R2023b, R2024a, R2024b] | |
| include: | |
| - os: macos-latest | |
| release: R2024b | |
| - os: macos-latest | |
| release: R2023b | |
| - os: windows-latest | |
| release: R2024b | |
| - os: windows-latest | |
| release: R2023b | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/workflows/composite-install-matlab | |
| - uses: ./.github/workflows/composite-buildtool | |
| prerelease: | |
| if: false | |
| timeout-minutes: 15 | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| release: [latest-including-prerelease] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/workflows/composite-install-matlab | |
| - uses: ./.github/workflows/composite-buildtool |