Skip to content

Commit

Permalink
Updated yml file to fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
callieEDU committed Sep 24, 2024
1 parent 8f8c56a commit af8d73f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,32 @@ jobs:

# Sets up MATLAB on the GitHub Actions runner
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v1
uses: matlab-actions/setup-matlab@v2
with:
release: ${{ matrix.MATLABVersion }}

# Run SmokeTests
- name: Run SmokeTests
uses: matlab-actions/run-command@v1
uses: matlab-actions/run-command@v2
with:
command: openProject(pwd); results = runtests(fullfile("SoftwareTests","SmokeTests.m")); assertSuccess(results);

# Run FunctionTests
- name: Run FunctionTests
uses: matlab-actions/run-command@v1
uses: matlab-actions/run-command@v2
with:
command: openProject(pwd); results = runtests(fullfile("SoftwareTests","FunctionTests.m")); assertSuccess(results);

# Upload the test results as artifact
- name: Upload TestResults
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4
with:
name: TestResults
path: ./SoftwareTests/TestResults_${{ matrix.MATLABVersion }}.txt

# Download the test results from artifact
- name: Download TestResults
uses: actions/download-artifact@v2.1.1
uses: actions/download-artifact@v4
with:
name: TestResults
path: ./SoftwareTests/
Expand Down

0 comments on commit af8d73f

Please sign in to comment.