From c07cba7be18806c3532625531470aa3d60017ded Mon Sep 17 00:00:00 2001 From: Jeremy Huard Date: Tue, 7 Apr 2026 01:04:52 +0200 Subject: [PATCH 1/2] updated ci.yml --- .github/workflows/ci.yml | 22 +++++++++++----------- resources/project/Project.xml | 15 +++++++++++++++ 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 994ea37..ed372ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,7 @@ 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: @@ -84,11 +84,11 @@ jobs: # 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 @@ -106,12 +106,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 @@ -126,7 +126,7 @@ jobs: - name: Deploy to GitHub Pages id: deployment if: always() - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v6 # ==================================== # @@ -135,12 +135,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); diff --git a/resources/project/Project.xml b/resources/project/Project.xml index 708ffb2..a4faac7 100644 --- a/resources/project/Project.xml +++ b/resources/project/Project.xml @@ -25,6 +25,15 @@ + + + + + @@ -599,4 +608,10 @@ + + + + + + From 1d73d11bf0aa2bab8ebcb266289f84aa4d3a3ee3 Mon Sep 17 00:00:00 2001 From: Jeremy Huard Date: Tue, 7 Apr 2026 01:10:11 +0200 Subject: [PATCH 2/2] corrected project.xml --- .github/workflows/ci.yml | 1 - resources/project/Project.xml | 15 --------------- 2 files changed, 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed372ca..5ae73bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | diff --git a/resources/project/Project.xml b/resources/project/Project.xml index a4faac7..708ffb2 100644 --- a/resources/project/Project.xml +++ b/resources/project/Project.xml @@ -25,15 +25,6 @@ - - - - - @@ -608,10 +599,4 @@ - - - - - -