Feat/publish to vipm - #18
Merged
Merged
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.
Comment on lines
62
to
75
| @@ -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: | |||
Comment on lines
41
to
42
| - '**.yml' | ||
| - 'SDK/**/*' |
Comment on lines
+38
to
+46
| <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> |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.