From ad3f68ac9f168e8332a82d8cea1f8930e6d4677b Mon Sep 17 00:00:00 2001 From: scivision Date: Wed, 17 Jul 2024 18:30:21 -0400 Subject: [PATCH] ci: also use prereleases --- .github/workflows/ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ee1280..06a5db8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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: