testing python 3.13 #81
Workflow file for this run
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
# ----- IBCDFO FULL TESTING OF LOCAL CLONE WITHOUT COVERAGE | |
name: Test IBCDFO MATLAB Code | |
env: | |
BENDFO_M_PATH: ${{ github.workspace }}/BenDFO/m | |
BENDFO_DATA_PATH: ${{ github.workspace }}/BenDFO/data | |
POUNDERS_PATH: ${{ github.workspace }}/IBCDFO/pounders/m | |
MSAMP_PATH: ${{ github.workspace }}/IBCDFO/manifold_sampling/m | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
test_ibcdfo: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-15] | |
matlab-release: ["R2022a", "R2022b", "R2023a", "R2023b", "R2024a", "R2024b"] | |
exclude: | |
# Failing with a possible issue outside IBCDFO (Issue #157) | |
- os: macos-14 | |
matlab-release: "R2023b" | |
steps: | |
# -- General Setup Steps | |
- name: Checkout IBCDFO repository | |
uses: actions/checkout@v4 | |
with: | |
path: IBCDFO | |
submodules: recursive | |
- name: Checkout BenDFO repository | |
uses: actions/checkout@v4 | |
with: | |
repository: POptUS/BenDFO | |
path: BenDFO | |
- name: Set up MATLAB ${{ matrix.matlab-release }} | |
uses: matlab-actions/setup-matlab@v2 | |
with: | |
release: ${{ matrix.matlab-release }} | |
products: Optimization_Toolbox | |
# -- Test Execution Step | |
- name: Test POUNDERS | |
uses: matlab-actions/run-command@v2 | |
with: | |
command: > | |
addpath("${{ env.BENDFO_M_PATH }}"), | |
addpath("${{ env.BENDFO_DATA_PATH }}"), | |
cd ${{ env.POUNDERS_PATH }}, | |
results = runtests("IncludeSubfolders", true), | |
assertSuccess(results); | |
- name: Test Manifold Sampling | |
uses: matlab-actions/run-command@v2 | |
with: | |
command: > | |
addpath("${{ env.BENDFO_M_PATH }}"), | |
addpath("${{ env.BENDFO_DATA_PATH }}"), | |
cd ${{ env.MSAMP_PATH }}, | |
results = runtests("IncludeSubfolders", true), | |
assertSuccess(results), |