🩹 [Patch]: Add PSModule configuration, skipping tests on MacOS and Linux#25
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request adds a new PSModule test configuration to skip tests on Linux and MacOS, and updates the workflow by removing the now unnecessary SkipTests parameter.
- Added a new configuration file (.github/PSModule.yml) to define PSModule test behavior and expected code coverage.
- Removed the SkipTests parameter from the workflow configuration in .github/workflows/Process-PSModule.yml since the test skipping is handled in the new configuration file.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/PSModule.yml | Added configuration for PSModule tests to skip tests on Linux and MacOS and set coverage target |
| .github/workflows/Process-PSModule.yml | Removed the SkipTests parameter as its functionality is now managed by the PSModule configuration |
|
Module Path - 1.0.17 published to the PowerShell Gallery. |
|
GitHub release for Path v1.0.17 has been created. |
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.
Description
This pull request includes changes to the GitHub Actions workflows to configure and manage the testing of the PSModule. The most important changes involve setting up the PSModule test configuration and updating the workflow to skip tests on specific operating systems.
Configuration of PSModule tests:
.github/PSModule.yml: Added a new configuration file for PSModule tests, specifying that tests should be skipped on Linux and MacOS, and setting a code coverage target of 80%.Workflow updates:
.github/workflows/Process-PSModule.yml: Removed theSkipTestsparameter from the workflow configuration, as the skipping of tests is now handled in the PSModule test configuration file.Type of change
Checklist