Repository navigation
Test installed STLC++ editor behavior before releases - #12
Merged
Merged
Conversation
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.
STLC++ releases had packaging and publishing checks but no tests of the installed extension inside VS Code. Add 20 editor tests that install the built VSIX in an isolated profile and exercise automatic activation, the bundled WASM parser, syntax highlighting, Unicode/CRLF positions, unsaved edits, incomplete and empty files, comment toggling, bracket matching, and automatic closing.
The tests exposed highlighting defects fixed here: missing syntax produced zero-length tokens, some reserved words and type arguments were colored incorrectly, multiline strings were skipped, and Windows line endings leaked into token lengths.
The build workflow tests the same VSIX on Linux, macOS, and Windows using pinned VS Code 1.130.0, plus the minimum supported 1.75.0 on Linux. The GitHub Release and both marketplace uploads now wait for every editor job to pass. Existing tag-only publishing and trusted-publisher configuration remain in place.
Validation:
npm test: 45 passed (22 release safeguards, 3 dependency/packaging checks, 20 editor tests).actionlintandgit diff --check: passed.Fixes aalto-opencs/opencs-platform#907