Repository navigation
Run migrated LUnit tests in a Linux LabVIEW container and add them to CI pipeline - #186
Merged
Merged
Conversation
Amruthasinchanag
requested review from
KSharma-NI,
gregr-ni and
shivaCode-2
as code owners
October 22, 2026 09:45
KSharma-NI
previously approved these changes
Oct 26, 2026
KSharma-NI
self-requested a review
October 26, 2026 05:11
Moved established unit tests into libraries to keep with support classes Removed tests that were ported from Icon Editor
Tests include Basic Messaging, Priority Queue, and Self Messaging
Also implemented Batch Messaging test
Continues the LUnit migration from PR #159.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Amruthasinchanag
force-pushed
the
users/amrutha/lunit-tests
branch
from
October 30, 2026 06:46
46aea68 to
351282f
Compare
KSharma-NI
approved these changes
Oct 30, 2026
shivaCode-2
approved these changes
Nov 2, 2026
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.
Summary of Changes
This PR continues the LUnit migration from #159 by running the migrated LUnit tests automatically in CI, inside the official Linux LabVIEW container.
The branch contains:
mainwith no changes. They provide the 13 migrated tests underTest/Unit Tests.The workflow:
nationalinstruments/labview:2026q1patch1-linuxonubuntu-22.04.26.3.1-4025(free edition) and uses it to install LUnit and LUnit CLI. No VIPM Pro activation and no repository secrets are needed, so the tests also run on PRs from forks.workflow_dispatch.Reason for Change
#159 moves the unit tests to LUnit but does not run them in a workflow.This PR runs them on every PR and push covered by
ci.yml.Visual Aids
Additional Information
Missing in Project.lvclass, which is saved in LabVIEW 2021 (it comes from Migrate from Caraya to LUnit for Unit Tests #159). LabVIEW 2020 users may not be able to open that class. CI loads the files in LabVIEW 2026 without saving them, so it doesn't change their versions.ci.ymljob, existing workflows are unchanged.Missing in Projecttests need the project open in LabVIEW. I confirmed this also happens with G-CLI (the runner the icon editor uses): run against the project path, the same 4 tests fail with error 1055.Testing
Automated Tests
ci.ymlandlunit-container-tests.yml.