Skip to content

Commit

Permalink
ci: also use prereleases
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jul 17, 2024
1 parent 994bc61 commit 670d428
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
release: [R2021a, R2021b, R2022a, R2023a, R2023b, R2024a]
release: [R2021a, R2023a, R2023b, R2024a]
include:
- os: ubuntu-24.04
release: latest-including-prereleases
- os: macos-latest
release: R2024a
- os: windows-latest
Expand All @@ -34,13 +36,14 @@ jobs:

- uses: actions/checkout@v4

# >= R2022b
- name: Run Matlab tests (buildtool)
if: ${{ matrix.release >= 'R2022b' }}
if: ${{ matrix.release != 'R2021a' }}
timeout-minutes: 10
uses: matlab-actions/run-build@v2

- name: Run tests (manual)
if: ${{ matrix.release < 'R2022b' }}
if: ${{ matrix.release == 'R2021a' }}
timeout-minutes: 10
uses: matlab-actions/run-tests@v2
with:
Expand Down

0 comments on commit 670d428

Please sign in to comment.