Skip to content

Add CI to the MATLAB repository (currently none) #34

Description

@andremun

Summary

Verified: andremun/InstanceSpace has no CI at all. .github/ contains only an
ISSUE_TEMPLATE/ folder — no workflows/ directory, no automated test run on push or PR.
test_integration.m (the exhaustive option-coverage regression suite) and example.m currently
have to be run manually and trusted before merging. This is a bigger gap than anything found in
the Python port's own testing audit, which already has validation-tests.yml.

Proposed change

Add .github/workflows/tests.yml (or similar), triggered on push/PR to main/development/
*-candidate branches (matching the Python port's branch trigger pattern): set up MATLAB (e.g.
via matlab-actions/setup-matlab), run test_integration.m and example.m, fail the build on
any individual test-case failure or a non-EOF:SUCCESS sentinel, and archive generated outputs/
logs as workflow artifacts to help debug failures.

Motivation

Mirrors what the Python port already has. Without this, every change — including both issues in
this repo's own batch 1 and batch 2 — relies entirely on a human remembering to run the suite
locally before merging, with no gate catching a regression that slips through.

Acceptance criteria

  • .github/workflows/ created with a working test workflow
  • Workflow runs test_integration.m and example.m against the reference dataset
  • Workflow fails the build on any regression (non-EOF:SUCCESS, or any individual
    try/catch-wrapped test-case failure in test_integration.m)
  • README badge added/updated to reflect real CI status

Part of the v0.9.1 milestone. Source: Python-port testing-infrastructure audit (§7), surfaced while examining how the Python port validates against MATLAB. Independent of batches 1 and 2. Suggested order: before #35 (whose longer-term follow-on depends on CI existing).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions