Skip to content

Bug fix when editing model build options caused when modle has simula… #38

Bug fix when editing model build options caused when modle has simula…

Bug fix when editing model build options caused when modle has simula… #38

name: Testing
on:
push:
branches:
- master
- release/*
jobs:
my-job:
name: Run MATLAB Commands
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
lfs: 'true'
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v1
- name: Set testing environment
uses: matlab-actions/run-command@v1
with:
command: results = testHydroSight(false);
- name: Run tests
uses: matlab-actions/[email protected]
with:
use-parallel: false # optional
test-results-junit: testing/results.xml
code-coverage-cobertura: testing/coverage.xml
- name: Make test results report
uses: dorny/[email protected]
if: success() || failure() # run this step even if previous step failed
with:
name: Test Report
path: testing/results.xml
reporter: java-junit
- name: Make coverage report
uses: codecov/codecov-action@v1
with:
file: testing/coverage.xml