Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ jobs:
steps:
# Checks-out the repository under $GITHUB_WORKSPACE, so the job can access it
- name: Check out repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}

- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2
uses: matlab-actions/setup-matlab@v3
with:
release: ${{ matrix.MATLABVersion }}

# Check for MATLAB code issues in the project.
- name: Check for MATLAB code issues
if: matrix.MATLABVersion == env.LatestMATLABVersion
uses: matlab-actions/run-command@v2
uses: matlab-actions/run-command@v3
with:
command: addpath(genpath("tools")); codecheckToolbox()

Expand All @@ -63,7 +63,7 @@ jobs:
# Run all tests in the project.
- name: Run tests
if: always()
uses: matlab-actions/run-command@v2
uses: matlab-actions/run-command@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -90,7 +90,7 @@ jobs:

- name: Upload code coverage report to Codecov (https://app.codecov.io/gh/openMetadataInitiative/openMINDS_MATLAB)
if: matrix.MATLABVersion == env.LatestMATLABVersion
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: docs/reports/codecoverage.xml
Expand All @@ -105,7 +105,7 @@ jobs:

# Save the contents of the reports directory as an artifact
- name: Save reports directory
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: always()
with:
name: reports-${{ matrix.MATLABVersion }}
Expand Down
Loading