Skip to content
Closed

Dev #13

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
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
test:

name: Test dev branch
if: ${{ github.event_name == 'pull_request' }}
if: ${{ github.event_name == 'pull_request' &&
github.event.pull_request.head.sha == github.sha }}

runs-on: ubuntu-latest

Expand All @@ -50,14 +51,14 @@ jobs:

# Set up MATLAB on a GitHub-hosted runner
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
uses: matlab-actions/setup-matlab@v3
with:
products: ${{ env.PRODUCT_LIST }}
cache: true

# Run the MATLAB build tool to build and test your code
- name: Run buildtool
uses: matlab-actions/run-build@v2
uses: matlab-actions/run-build@v3
with:
tasks: test

Expand Down Expand Up @@ -89,14 +90,14 @@ jobs:

# Set up MATLAB on a GitHub-hosted runner
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
uses: matlab-actions/setup-matlab@v3
with:
products: ${{ env.PRODUCT_LIST }}
cache: true

# Run the MATLAB build tool to build and test your code
- name: Run buildtool
uses: matlab-actions/run-build@v2
uses: matlab-actions/run-build@v3
with:
tasks: compile # change to compile

Expand Down