Add initial test configurations, modules, and functions#13
Merged
Marius Storhaug (MariusStorhaug) merged 9 commits intomainfrom Feb 13, 2025
Merged
Add initial test configurations, modules, and functions#13Marius Storhaug (MariusStorhaug) merged 9 commits intomainfrom
Marius Storhaug (MariusStorhaug) merged 9 commits intomainfrom
Conversation
…ttier validation for specific file types
…workflows for consistency
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 updates the GitHub Actions workflows, the addition of new helper scripts, and changes to the action configuration.
Updates to GitHub Actions workflows
.github/workflows/Action-Test.yml: Added environment variables, updated permissions, and modified job steps to include initializing the environment and uploading module artifacts..github/workflows/Auto-Configure.yml: Removed the Auto-Configure workflow..github/workflows/Auto-Document.yml: Removed the Auto-Document workflow..github/workflows/Linter.yml: Disabled validation for markdown, JSON, YAML, and JSCPD in the linter configuration.New helper functions:
scripts/helpers/Build-PSModuleDocumentation.ps1: Added a new function to build module documentation, including generating markdown help and fixing markdown code blocks.scripts/helpers/Import-PSModule.ps1: Added a new function to import a PowerShell module from a specified path.scripts/helpers/Resolve-PSModuleDependency.ps1: Added a new function to resolve module dependencies based on the manifest file.Updates to action configuration:
action.yml: Updated the action name, description, and inputs to better reflect the new functionality. Added steps to download module artifacts, run the documentation build script, and upload documentation artifacts.Documentation and configuration updates:
tests/outputs/modules/PSModuleTest/PSModuleTest.psd1: Added a new module manifest file forPSModuleTestwith detailed module configuration..gitattributes: Added configuration to handle different file types and ensure proper line endings.These changes collectively improve the automation, documentation, and configuration management of the project.
Type of change
Checklist