Skip to content
Merged

Dev #18

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
23 changes: 11 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge


# Start display server (for UI tests in Linux)
- name: Start display server
run: |
Expand Down Expand Up @@ -76,19 +75,19 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}

# The type of runner that the job will run on
runs-on: windows-latest
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Check out your repository
- uses: actions/checkout@v5

# # Start display server (for UI tests in Linux)
# - name: Start display server
# run: |
# Xvfb :99 &
# echo "DISPLAY=:99" >> $GITHUB_ENV
# Start display server (for UI tests in Linux)
- name: Start display server
run: |
Xvfb :99 &
echo "DISPLAY=:99" >> $GITHUB_ENV

# Set up MATLAB on a GitHub-hosted runner
- name: Setup MATLAB
Expand All @@ -106,12 +105,12 @@ jobs:
# Configure GitHub Pages to accept your artifact uploads
- name: Setup Pages
if: always()
uses: actions/configure-pages@v5
uses: actions/configure-pages@v6

# Upload testing and code coverage reports to your repository
- name: Upload pages
if: always()
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v6
with:
path: results # Upload results

Expand All @@ -126,7 +125,7 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
if: always()
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v6


# ==================================== #
Expand All @@ -135,12 +134,12 @@ jobs:

## Runs your tests using `runtests` command
#- name: Run all tests
# uses: matlab-actions/run-tests@v2
# uses: matlab-actions/run-tests@v3
# with:
# source-folder: code

## Executes custom MATLAB scripts, functions, or statements
#- name: Run custom testing procedure
# uses: matlab-actions/run-command@v2
# uses: matlab-actions/run-command@v3
# with:
# command: disp('Running my custom testing procedure!'); addpath('code'); results = runtests('IncludeSubfolders', true); assertSuccess(results);