Test packaged toolbox installation and tests on older MATLAB releases

Offen
#44 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
matlab
Bereich
ci-cd, release, testing

Rechercherichtung

Start by reading the existing CI configuration and the normal packaging workflow, plus the source-compatibility job discussed in #40. Build the release MLTBX, install it on each older supported MATLAB release, and run the toolbox test suite against the installed package. Done means a CI job verifies installation, packaged runtime resources and dependencies, and tests for those releases.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Problem

CI currently builds the toolbox and runs its tests on older MATLAB releases, which verifies source compatibility. For example #40.

However, this does not verify that the packaged MLTBX produced for release can be installed and used successfully on those same releases. Packaging can introduce compatibility issues that are not exercised when building and testing directly from the source tree.

Proposal

  • Build the release MLTBX using the normal packaging workflow.
  • Test installing that packaged MLTBX on the older MATLAB releases supported by the toolbox.
  • Run the toolbox test suite against the installed package rather than the source tree.
  • Verify that packaged runtime resources and dependencies are present and usable after installation.
  • Add this packaged-toolbox compatibility check to CI for the relevant older MATLAB releases.

The goal is to verify compatibility of the artifact users actually download and install, in addition to the existing source build and test coverage.

Vorherrschende Sprache
MATLAB
Sterne
10
Forks
3
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus mathworks/docmaker

Alle Issues in mathworks/docmaker

Ähnliche Issues

Weitere Issues zu MATLAB

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.