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 33f3624
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
release: [R2021a, R2021b, R2022a, R2023a, R2023b, R2024a]
release: [R2021a, R2023a, R2023b, R2024a, latest-including-prereleases]
include:
- os: macos-latest
release: R2024a
release: latest-including-prereleases
- os: windows-latest
release: R2024a
release: latest-including-prereleases

steps:

Expand All @@ -34,13 +34,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 33f3624

Please sign in to comment.