Update setup test cases and added installer only option - #15
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request adds an installer-only mode to the CODESYS GitHub Action, allowing users to install just the CODESYS installer without performing a full CODESYS installation. It also includes comprehensive test coverage and workflow improvements.
- Introduces
installer-onlyinput parameter with conditional execution of installation steps - Adds extensive test jobs for various scenarios including edge cases and multiple installations
- Improves workflow structure and naming for better clarity and organization
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| action.yml | Added installer-only input and conditional step execution to skip installation when only installer is needed |
| README.md | Added documentation for installer-only mode with usage examples and output availability notes |
| .github/workflows/setup.yml | Enhanced test coverage with new jobs for installer-only mode, multiple installations, custom directories, and edge cases |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
This pull request adds support for installing only the CODESYS Installer (without a full CODESYS installation) and introduces comprehensive tests and documentation updates for this new feature. It also improves the structure and naming of test jobs in the GitHub Actions workflow for better clarity, and enhances validation and edge case coverage.
Installer-only mode and documentation:
installer-onlyinput to the GitHub Action (action.yml), allowing users to install just the CODESYS Installer without a CODESYS installation. Conditional steps ensure that installation and add-on logic are skipped wheninstaller-onlyis true. [1] [2] [3] [4] [5] [6] [7] [8]README.mdwith usage examples, input/output documentation, and notes about which outputs are available ininstaller-onlymode. [1] [2] [3]Workflow and test improvements:
.github/workflows/setup.ymlto test the installer-only mode, multiple CODESYS installations in one job, custom installation directories, sequential installer and installation steps, and various edge cases. [1] [2]