Skip to content

Commit 679a469

Browse files
🩹 [Patch]: Add PSModule configuration, skipping tests on MacOS and Linux (#25)
## 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`](diffhunk://#diff-928165ed381f1982eb8f9746a59a2829db4abc8a28eddb8c109e12bb033ff96aR1-R8): 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`](diffhunk://#diff-b4dbaea65a86cef96799e9783b18b31e96a456d476805312f52919d45a060603L31-L32): Removed the `SkipTests` parameter from the workflow configuration, as the skipping of tests is now handled in the PSModule test configuration file. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 8fda3b7 commit 679a469

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/PSModule.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Name: PSModuleTest
2+
Test:
3+
Linux:
4+
Skip: true
5+
MacOS:
6+
Skip: true
7+
CodeCoverage:
8+
PercentTarget: 80

.github/workflows/Process-PSModule.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ jobs:
2828
Process-PSModule:
2929
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v4
3030
secrets: inherit
31-
with:
32-
SkipTests: Linux, macOS

0 commit comments

Comments
 (0)