Update to release v3 "Cleve" #984
This file contains 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
# This is a basic workflow to help you get started with Actions | |
name: Tests | |
permissions: | |
checks: write | |
pull-requests: write | |
actions: read | |
contents: read | |
# Controls when the action will run. | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test-matlab-stable: #Matlab test Job for supported Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 # Checks-out repository under $GITHUB_WORKSPACE | |
with: | |
submodules: 'true' | |
- name: Run Test | |
uses: ./.github/actions/test-matlab | |
with: | |
matlab-version: R2022b | |
test-matlab-latest: #Matlab test Job for latest Matlab release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 # Checks-out repository under $GITHUB_WORKSPACE | |
with: | |
submodules: 'true' | |
- uses: ./.github/actions/test-matlab | |
with: | |
matlab-version: latest | |
test-octave-6: #Octave test Job | |
runs-on: ubuntu-22.04 # We use Ubuntu-22.04 because it has Octave 6.4 | |
steps: | |
- uses: actions/checkout@v4 # Checks-out repository under $GITHUB_WORKSPACE | |
with: | |
submodules: 'true' | |
- uses: ./.github/actions/test-octave | |
test-report: | |
name: Collect Test Results | |
needs: [test-matlab-stable, test-matlab-latest, test-octave-6] | |
uses: ./.github/workflows/test-results.yml | |
secrets: inherit | |
coverage-report: | |
name: Collect Coverage Report | |
needs: [test-matlab-stable] | |
uses: ./.github/workflows/coverage-report.yml | |
secrets: inherit |