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 ad3f68a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ 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-prerelease
- os: macos-latest
release: R2024a
release: latest-including-prerelease
- os: windows-latest
release: R2024a
release: latest-including-prerelease

steps:

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 ad3f68a

Please sign in to comment.