Test packaged toolbox installation and tests on older MATLAB releases

Đang mở
#44 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
matlab
Lĩnh vực
ci-cd, release, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
MATLAB
Star
10
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mathworks/docmaker

Tất cả issue của mathworks/docmaker

Issue tương tự

Thêm issue về MATLAB

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.