This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kirk Brauer
authored
Oct 5, 2023
1 parent
61050ab
commit 236d1f7
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: MATLAB Build | ||
on: | ||
# Trigger only on PRs targeting main or develop | ||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
jobs: | ||
run-tests: | ||
# Job to run the Simulink tests | ||
name: Run Simulink Tests | ||
runs-on: ubuntu-4 | ||
steps: | ||
# Checkout the repo with Git clone | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
# Install MATLAB + Simulink 2023a | ||
- name: Setup MATLAB | ||
uses: matlab-actions/setup-matlab@v1 | ||
with: | ||
release: R2023a | ||
# Run the "test" task from the buildfile | ||
- name: Run Tests | ||
uses: matlab-actions/run-build@v1 | ||
with: | ||
tasks: test | ||
# run-checks: | ||
# name: Run Model Checks | ||
# runs-on: ubuntu-4 | ||
# steps: | ||
# # Checkout the repo with Git clone | ||
# - name: Checkout repository | ||
# uses: actions/checkout@v3 | ||
# # Install MATLAB + Simulink 2023a | ||
# - name: Setup MATLAB | ||
# uses: matlab-actions/setup-matlab@v1 | ||
# with: | ||
# release: R2023a | ||
# # Run the "check" task from the buildfile | ||
# - name: Run Checks | ||
# uses: matlab-actions/run-build@v1 | ||
# with: | ||
# tasks: check |