Skip to content

Commit

Permalink
Update matlabact.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mw-jsgeorge authored Aug 27, 2024
1 parent 80f895c commit 8bd6ff6
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/matlabact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Run MATLAB Build & Test
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-14]
os: [ubuntu-latest, windows-latest, macos-13]
release: [R2024a, latest-including-prerelease]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -17,26 +17,27 @@ jobs:
- name: Install MATLAB
uses: matlab-actions/setup-matlab@v2
with:
products: MATLAB_Compiler
products: MATLAB_Compiler
cahce: true
release: ${{ matrix.release }}
- name: Run build
uses: matlab-actions/run-build@v2.4.1
uses: matlab-actions/run-build@v2
with:
tasks: check test
- name: Run tests and generate artifacts
uses: matlab-actions/run-tests@v1
with:
test-results-junit: test-results/results.xml
code-coverage-cobertura: code-coverage/coverage.xml
source-folder: source
- uses: actions/upload-artifact@v2
with:
name: cc
path: code-coverage/coverage.xml
- uses: actions/upload-artifact@v2
with:
name: tr
path: test-results/results.xml
# - name: Run tests and generate artifacts
# uses: matlab-actions/run-tests@v1
# with:
# test-results-junit: test-results/results.xml
# code-coverage-cobertura: code-coverage/coverage.xml
# source-folder: source
# - uses: actions/upload-artifact@v2
# with:
# name: cc
# path: code-coverage/coverage.xml
# - uses: actions/upload-artifact@v2
# with:
# name: tr
# path: test-results/results.xml

deploy:
# This job executes only after a successful completion of 'mex-and-unittests' job
Expand All @@ -56,7 +57,7 @@ jobs:
products: MATLAB_Compiler
release: R2024a
- name: Run build
uses: matlab-actions/run-build@v2.4.1
uses: matlab-actions/run-build@v2
with:
tasks: pcode deploy
- name: Upload artifact
Expand Down

0 comments on commit 8bd6ff6

Please sign in to comment.