Skip to content

Run Tests Automation #6

Run Tests Automation

Run Tests Automation #6

Workflow file for this run

name: Run Tests
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
julia-version: ['1.10']
matlab-version: [R2022b]
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: julia-actions/install-juliaup@v2
with:
channel: '1'
- run: |
juliaup add ${{ matrix.julia-version }}
julia +${{ matrix.julia-version }} -e "println(Sys.BINDIR)"
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: ${{ matrix.matlab-version }}
cache: true
- name: Run tests
uses: matlab-actions/run-tests@v2
env:
JULIA_VERSION: ${{ matrix.julia-version }}
with:
source-folder: 'src/matlab'
select-by-folder: 'test'
strict: false
test-results-junit: test-reults/results.xml
code-coverage-cobertura: test-reults/coverage.xml
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
path: test-reults