Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rweinsteMW authored Feb 1, 2024
1 parent bab6676 commit 13d3081
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,24 @@ jobs:
steps:
# Checks-out your repository
- uses: actions/checkout@v3

- name: Start display server
if: ${{ always() }}
run: |
sudo apt-get install xvfb
Xvfb :99 &
echo "DISPLAY=:99" >> $GITHUB_ENV
# Sets up MATLAB
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v1
uses: matlab-actions/setup-matlab@v2
with:
release: ${{ matrix.MATLABVersion }}
products: Statistics_and_Machine_Learning_Toolbox Simulink

# Run all the tests
- name: Run SmokeTests
uses: matlab-actions/run-command@v1
uses: matlab-actions/run-command@v2
with:
command: openProject(pwd); RunAllTests;

Expand Down

0 comments on commit 13d3081

Please sign in to comment.