Uh oh!
There was an error while loading. Please reload this page.
Feat/publish to vipm - #18
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The added example scripts contain confirmed channel selection/copy-paste errors, and there are CI/package metadata issues (encoding garble, workflow pinning/triggering) that should be corrected before release.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR prepares CSMScript-Lite for VIPM distribution by adding VIPM package builder configuration, consolidating LabVIEW CI into a single workflow that builds/upload/backs up the VIP artifact, and adding/adjusting LabVIEW example assets.
Changes:
- Add VIPM package builder project (
CSMScript-Lite.vipb) and wire it into the LabVIEW project. - Consolidate CI into
.github/workflows/labview-ci.ymlto check broken VIs, build the VIP, upload artifacts, and FTP-backup outputs. - Add/update example scripts and example LabVIEW project assets; update repository license to Apache 2.0.
File summaries
| File | Description |
|---|---|
src/_Example/csmscript/ai3.csmscript | Adds an AI read/update-chart example script. |
src/_Example/csmscript/ai2.csmscript | Adds an AI read/update-chart example script with UI open/close steps. |
src/_Example/csmscript/ai.csmscript | Adds an alternative AI example script using register/unregister style chart updates. |
src/_Example/CSMScript-Lite Example.lvproj | Adds a LabVIEW example project for the _Example content. |
LICENSE | Switches project license text to Apache License 2.0. |
CSMScript-Lite.vipb | Adds VIPM Package Builder settings for producing the .vip package. |
CSMScript-Lite.lvproj | Updates main LabVIEW project to include _Example and the .vipb document. |
.github/workflows/labview-ci.yml | Consolidates CI steps and adds VIP build + artifact upload + FTP backup. |
.github/Build_VIPM_Library.yml | Removes the old standalone VIP build workflow. |
_test/CSMStand(Lite)-test.lvlib | Marks the test library as SourceOnly. |
Review details
- Files reviewed: 7/21 changed files
- Comments generated: 3
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| @@ -59,10 +68,9 @@ jobs: | |||
| PackageName1: CSM-MassData-Parameter-Support | |||
| PackageName2: CSM-API-String-Arguments-Support | |||
| PackageName3: CSM-INI-Static-Variable-Support | |||
| PackageName4: NEVSTOP-Programming-Palette | |||
| # Runs a set of commands using the runners shell | |||
| - id: Check_Broken_VIs | |||
| # 1. 检查仓库中是否有损坏的 VI | |||
| - id: check-broken-vis | |||
| uses: LV-APT/lvCICD@main | |||
| with: | |||
| - '**.yml' | ||
| - 'SDK/**/*' |
| <Description>CSMScript-Lite is a lightweight script execution engine built on the Communicable State Machine (CSM) framework. It executes flexible CSM-based test scripts to automate testing workflows, and also serves as a practical demonstration of CSM's capabilities. The design concept is similar to NI TestStand. | ||
| This project includes: | ||
| <b>CSMScript-Lite Library</b> �� A lightweight CSM script execution engine, itself implemented as a CSM module. | ||
| - Engine: Core execution engine that parses and runs CSM scripts, managing test state and results. | ||
| - UI (ExecutionView): User interface for script management, execution control, and result viewing. | ||
| - App: A sample application demonstrating how to use the CSMScript library. | ||
| <b>Example Projects</b> �� Demonstrate how to combine CSMScript-Lite with other CSM modules for script-driven automated testing.</Description> |
Uh oh!
There was an error while loading. Please reload this page.
No description provided.