Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Create main.yml (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirk Brauer authored Oct 5, 2023
1 parent 61050ab commit 236d1f7
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/main.yml
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

0 comments on commit 236d1f7

Please sign in to comment.