Skip to content

🌟 [Major]: Support parallel workflows and split in concerns #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 172 commits into from
Apr 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
c293172
🩹 [Add]: Introduce new test configuration and container scripts for m…
MariusStorhaug Feb 19, 2025
39dc11a
🩹 [Enhance]: Add dynamic test path resolution based on test type in a…
MariusStorhaug Feb 19, 2025
14eb496
🩹 [Enhance]: Improve test path resolution logic in action.yml to use …
MariusStorhaug Feb 19, 2025
e118976
πŸͺ² [Fix]: Add error handling for invalid test types in action.yml
MariusStorhaug Feb 19, 2025
284a0c0
🩹 [Enhance]: Add verbose output for path resolution and improve error…
MariusStorhaug Feb 19, 2025
5aef70d
[Enhance]: Add confirmation flag to Set-GitHubOutput for improved out…
MariusStorhaug Feb 19, 2025
cb1c1a6
🩹 [Enhance]: Update path resolution to use github.action_path and git…
MariusStorhaug Feb 19, 2025
9336588
[Enhance]: Remove unnecessary flags from Set-GitHubOutput and fix pat…
MariusStorhaug Feb 19, 2025
e29c264
[Enhance]: Update default TestsPath to 'scripts/tests' and fix path c…
MariusStorhaug Feb 19, 2025
a524f24
[Enhance]: Improve output formatting for test type and path in action…
MariusStorhaug Feb 19, 2025
0deea16
[Enhance]: Update Invoke-Pester action to version 1.1.1-preview for i…
MariusStorhaug Feb 19, 2025
83311e0
[Enhance]: Refactor TestsPath handling and improve path resolution fo…
MariusStorhaug Feb 19, 2025
306f6c5
Enhance: Expand resolved path output for Module and SourceCode test t…
MariusStorhaug Feb 19, 2025
b625e13
Refactor: Remove redundant Name parameter and streamline Run_Path in …
MariusStorhaug Feb 19, 2025
70b61b2
Refactor: Remove unnecessary blank line before setting GitHub output …
MariusStorhaug Feb 19, 2025
1b47698
Enhance: Add TestPath resolution and update Invoke-Pester action to u…
MariusStorhaug Feb 19, 2025
4c15dd9
Refactor: Remove main.ps1 script as part of codebase cleanup
MariusStorhaug Feb 20, 2025
2d99473
Fix: Update Invoke-Pester action to use stable version v1
MariusStorhaug Feb 20, 2025
5dda718
Refactor: Simplify configuration structure in Module.Configuration.ps…
MariusStorhaug Feb 20, 2025
607ab73
Enhance: Update action.yml and test scripts to use environment variab…
MariusStorhaug Feb 20, 2025
c11a47e
Enhance: Update action.yml to use underscores in environment variable…
MariusStorhaug Feb 20, 2025
e7d5b0a
Enhance: Update action.yml to rename the module and use a fixed versi…
MariusStorhaug Feb 20, 2025
c74b8b5
Enhance: Update path resolution in test scripts for consistency and r…
MariusStorhaug Feb 20, 2025
70bc40e
Enhance: Update path resolution in test scripts to improve consistenc…
MariusStorhaug Feb 20, 2025
4fbe6d0
Enhance: Simplify path resolution in test scripts for improved clarit…
MariusStorhaug Feb 20, 2025
51baa14
Enhance: Refactor test scripts by consolidating and updating PSModule…
MariusStorhaug Feb 20, 2025
ce4451e
Enhance: Update output messages in action.yml for clarity in path rep…
MariusStorhaug Feb 20, 2025
ff37be8
Enhance: Update path variables in container scripts for consistency i…
MariusStorhaug Feb 20, 2025
44aa2d1
Enhance: Simplify path assignment in container scripts for improved c…
MariusStorhaug Feb 20, 2025
9138351
Refactor: Remove Test-PSModule function and introduce helper function…
MariusStorhaug Feb 20, 2025
db42cf8
Enhance: Update PSModule.Tests.ps1 to improve module path handling fo…
MariusStorhaug Feb 20, 2025
4e85d46
Enhance: Add verbose flag to Write-Verbose for improved module name l…
MariusStorhaug Feb 20, 2025
18145d5
Enhance: Simplify output folder assignment and module import in PSMod…
MariusStorhaug Feb 20, 2025
ed2972b
Refactor: Simplify parameters in Import-PSModule.ps1 by removing mand…
MariusStorhaug Feb 20, 2025
34ed345
Refactor: Remove unnecessary module manifest resolution in PSModule.T…
MariusStorhaug Feb 20, 2025
cb59b45
Refactor: Remove verbose flag from Write-Host in Import-PSModule.ps1 …
MariusStorhaug Feb 20, 2025
73a66da
Refactor: Streamline module removal logic in Remove-PSModule.ps1 to h…
MariusStorhaug Feb 20, 2025
b1737cb
Refactor: Optimize module retrieval in Remove-PSModule.ps1 to enhance…
MariusStorhaug Feb 20, 2025
d31a21c
Refactor: Enhance Remove-PSModule.ps1 to remove commands associated w…
MariusStorhaug Feb 20, 2025
f808a89
Refactor: Add OS input to workflows and update Remove-PSModule output…
MariusStorhaug Feb 20, 2025
a1f0b51
Refactor: Update command retrieval in Remove-PSModule.ps1 to use Get-…
MariusStorhaug Feb 20, 2025
769c8e0
Refactor: Improve logging in Remove-PSModule.ps1 to enhance visibilit…
MariusStorhaug Feb 20, 2025
f2c5d7b
Refactor: Enhance logging in PSModule tests for improved clarity and …
MariusStorhaug Feb 20, 2025
65994c0
Refactor: Update output value in action.yml to use standardized outpu…
MariusStorhaug Feb 20, 2025
0b186b0
Refactor: Update TestResult_TestSuiteName format in action.yml and en…
MariusStorhaug Feb 20, 2025
499d4b2
Refactor: Update command retrieval in Remove-PSModule.ps1 to use Get-…
MariusStorhaug Feb 20, 2025
660f7cc
Refactor: Update Install-Module call in Resolve-PSModuleDependency.ps…
MariusStorhaug Feb 20, 2025
255b46c
Refactor: Replace Write-Verbose with Write-Host for improved output v…
MariusStorhaug Feb 20, 2025
378f649
Add initial test module structure and resources
MariusStorhaug Feb 20, 2025
14f576c
Refactor: Remove unnecessary -AutoSize parameter from Format-List in …
MariusStorhaug Feb 20, 2025
084035b
Refactor: Update test paths in GitHub workflows for improved clarity …
MariusStorhaug Feb 20, 2025
9e271df
Refactor: Simplify code path resolution in main.ps1 and update test p…
MariusStorhaug Feb 20, 2025
1087018
Refactor: Update code path resolution in main.ps1 to use GITHUB_WORKS…
MariusStorhaug Feb 20, 2025
7d31ea5
Refactor: Enhance module name handling in action.yml and update test …
MariusStorhaug Feb 20, 2025
1dfbad3
Refactor: Improve log messages formatting in PSModule.Tests.ps1 for b…
MariusStorhaug Feb 20, 2025
317b22d
Refactor: Update log messages in PSModule.Tests.ps1 to use relative p…
MariusStorhaug Feb 20, 2025
8eebcdf
Refactor: Simplify path handling in action.yml and main.ps1 for impro…
MariusStorhaug Feb 20, 2025
83525a6
Refactor: Simplify log messages in PSModule.Tests.ps1 for improved cl…
MariusStorhaug Feb 21, 2025
8f026d1
Refactor: Update log messages in PSModule.Tests.ps1 for improved clar…
MariusStorhaug Feb 21, 2025
ebcf5f6
Refactor: Align log message formatting in PSModule.Tests.ps1 for impr…
MariusStorhaug Feb 21, 2025
85d3dc4
Refactor: Import settings file in PSScriptAnalyzer.Tests.ps1 for impr…
MariusStorhaug Feb 21, 2025
3f88258
Refactor: Disable verbose output in Invoke-ScriptAnalyzer for cleaner…
MariusStorhaug Feb 21, 2025
c31447b
Refactor: Enhance severity handling in PSScriptAnalyzer.Tests.ps1 for…
MariusStorhaug Feb 21, 2025
1919389
Refactor: Update Invoke-Pester action to version 3 and remove obsolet…
MariusStorhaug Feb 23, 2025
51e4456
Refactor: Consolidate action test workflows into a single Action-Test…
MariusStorhaug Feb 23, 2025
0a40039
Refactor: Update Action-Test workflows to streamline settings and tes…
MariusStorhaug Feb 23, 2025
588f2bb
Refactor: Rename TestType input to Settings and update related refere…
MariusStorhaug Feb 23, 2025
add09cd
Refactor: Add environment initialization step to action workflow
MariusStorhaug Feb 23, 2025
e3bfac1
Refactor: Remove TestSuiteName from Action-Test workflows and simplif…
MariusStorhaug Feb 23, 2025
121eeaa
Refactor: Add debug, verbose, version, and prerelease inputs to actio…
MariusStorhaug Feb 23, 2025
ce3426f
Refactor: Suppress Write-Host warnings for logging in GitHub Actions …
MariusStorhaug Feb 23, 2025
32377f3
Refactor: Update path resolution for module outputs in PSModule.Conta…
MariusStorhaug Feb 23, 2025
4a711eb
Refactor: Enhance module name handling in action workflow and update …
MariusStorhaug Feb 24, 2025
18285b7
Refactor: Update test path handling in action workflow and scripts fo…
MariusStorhaug Feb 24, 2025
071ff41
Refactor: Update local test path resolution in main.ps1 for improved …
MariusStorhaug Feb 24, 2025
cf8ae08
Refactor: Enhance test path resolution in main.ps1 and add environmen…
MariusStorhaug Feb 24, 2025
91d1c87
Refactor: Add environment initialization step in Action-Test workflow…
MariusStorhaug Feb 24, 2025
3c310e5
Refactor: Correct module output path in README and main.ps1 for consi…
MariusStorhaug Feb 24, 2025
c95d6aa
Refactor: Add new configuration and type definition files for PSModul…
MariusStorhaug Feb 24, 2025
51ab417
Refactor: Add Add-PSModulePath helper function and improve variable c…
MariusStorhaug Feb 25, 2025
2abce08
Refactor: Update Import-PSModule.ps1 to improve manifest file path ha…
MariusStorhaug Feb 25, 2025
93d27c0
Refactor: Enhance error handling in Remove-PSModule.ps1 by adding -Er…
MariusStorhaug Feb 26, 2025
131cdd3
Refactor: Remove Add-PSModulePath and Remove-PSModule functions, stre…
MariusStorhaug Feb 26, 2025
917cba8
Refactor: Update Import-PSModule and Resolve-PSModuleDependency to en…
MariusStorhaug Feb 26, 2025
c82e85b
Refactor: Update PSModule.Tests to use Import-PSModule for improved m…
MariusStorhaug Feb 26, 2025
461245d
Refactor: Update PSModule.Tests to use Import-Module for module impor…
MariusStorhaug Feb 26, 2025
ac7fb6b
Refactor: Update PSModule.Tests to use Import-Module with -Name param…
MariusStorhaug Feb 26, 2025
d5c2c74
Refactor: Add TestResults configuration to Module.Configuration for e…
MariusStorhaug Feb 26, 2025
3b3edc2
Fix typo in TestResults configuration key in Module.Configuration
MariusStorhaug Feb 26, 2025
82392f5
Fix typo in TestResults configuration key in Module.Configuration
MariusStorhaug Feb 26, 2025
48cb05f
Remove redundant environment initialization step from Action-Test wor…
MariusStorhaug Feb 27, 2025
cef67fe
Update Invoke-Pester action to use fixDefaultsForMerge for improved f…
MariusStorhaug Feb 27, 2025
d75b536
Update Invoke-Pester action to use fixDefaultsForMerge for improved f…
MariusStorhaug Feb 27, 2025
d67d4ce
Add newline at end of Action-Test workflow file for consistency
MariusStorhaug Feb 27, 2025
7210d1c
Update Invoke-Pester action version and fix typo in Module.Configuration
MariusStorhaug Feb 27, 2025
bd2ce7b
Update Invoke-Pester action to use fixDefaultsForMerge for improved f…
MariusStorhaug Feb 27, 2025
eff1b3c
Remove unnecessary blank lines and add newline at end of Action-Test …
MariusStorhaug Feb 27, 2025
69218ed
Rename environment variables for consistency in action.yml and main.ps1
MariusStorhaug Feb 28, 2025
a9ca5b8
Add Convert-VersionSpec function for NuGet version range conversion
MariusStorhaug Feb 28, 2025
739246d
Add WorkingDirectory input to action.yml and update script paths acco…
MariusStorhaug Feb 28, 2025
166e417
Update Invoke-Pester action version and standardize string quotes in …
MariusStorhaug Feb 28, 2025
60f0838
Refactor Action-Test workflow to replace 'Path' with 'WorkingDirector…
MariusStorhaug Feb 28, 2025
7399403
Enhance path resolution in main.ps1 by adding existence checks for te…
MariusStorhaug Feb 28, 2025
c5a31ce
Improve working directory resolution in main.ps1 by using Resolve-Pat…
MariusStorhaug Feb 28, 2025
6e31994
Refactor working directory resolution in main.ps1 to use current dire…
MariusStorhaug Feb 28, 2025
af4128b
Refactor path resolution in main.ps1 to simplify directory checks and…
MariusStorhaug Feb 28, 2025
d90d9a8
Format output properties in main.ps1 for improved readability
MariusStorhaug Feb 28, 2025
b1cac71
Improve readability of comments in main.ps1 for better clarity
MariusStorhaug Feb 28, 2025
56cf681
Fix duplicate entry for WorkingDirectory in README.md
MariusStorhaug Mar 1, 2025
88c4d35
Format output in main.ps1 to string and comment out unused test conte…
MariusStorhaug Mar 2, 2025
4bc0e67
Refactor output formatting in Import-PSModule.ps1 for improved readab…
MariusStorhaug Mar 2, 2025
2169406
Update action.yml to switch Invoke-Pester version for testing stability
MariusStorhaug Mar 2, 2025
d38b090
Add a blank line for improved readability in Action-Test.yml
MariusStorhaug Mar 2, 2025
73b3a9f
Add a blank line to README.md for improved readability
MariusStorhaug Mar 2, 2025
58cb45b
Remove unnecessary blank lines in Action-Test.yml and README.md for i…
MariusStorhaug Mar 2, 2025
6716dd4
Update action.yml to revert Invoke-Pester version for consistency in …
MariusStorhaug Mar 2, 2025
f2047a1
Add Output_Verbosity parameter to action.yml for detailed output
MariusStorhaug Mar 2, 2025
e148555
Remove Output_Verbosity parameter from action.yml for streamlined con…
MariusStorhaug Mar 2, 2025
1b38fab
Add a blank line to README.md for improved readability
MariusStorhaug Mar 3, 2025
ba3bd90
Remove unnecessary blank line from README.md for improved clarity
MariusStorhaug Mar 3, 2025
4ca6221
Add local repository registration and module installation for 'Module…
MariusStorhaug Mar 5, 2025
dcbe3ec
Remove unnecessary parameter from local repository creation in main.ps1
MariusStorhaug Mar 5, 2025
a97f93d
Update priority for local repository and specify repository in Instal…
MariusStorhaug Mar 5, 2025
d7085ea
Update PSSemVer module version to 1.1.5 in PSModuleTest.psd1
MariusStorhaug Mar 5, 2025
f85d62e
Refactor module test scripts to improve helper path resolution and ad…
MariusStorhaug Mar 5, 2025
0600c01
Fix helper path resolution in main.ps1 to correctly reference the hel…
MariusStorhaug Mar 5, 2025
4a46826
Add repository specification for Install-PSResource in Resolve-PSModu…
MariusStorhaug Mar 5, 2025
addd28f
Add output formatting for PSResourceRepository in main.ps1
MariusStorhaug Mar 5, 2025
245e547
Refactor module installation process in main.ps1 to use PSModulePath …
MariusStorhaug Mar 5, 2025
2aeb7a5
Remove redundant loading of helper scripts in PSModule.Tests.ps1
MariusStorhaug Mar 5, 2025
337a731
Refactor module installation logic in main.ps1 to store the installat…
MariusStorhaug Mar 5, 2025
cf4a921
Add output of installed module files in main.ps1 after installation
MariusStorhaug Mar 5, 2025
4b2f08a
Import module after installation and update output path in main.ps1
MariusStorhaug Mar 5, 2025
22526b5
Refactor module path handling in main.ps1 to improve clarity and cons…
MariusStorhaug Mar 5, 2025
5a9ac0b
Fix module copy path in main.ps1 to ensure correct installation of mo…
MariusStorhaug Mar 5, 2025
b613f45
Add validation for module manifest file in main.ps1
MariusStorhaug Mar 5, 2025
e0a502b
Reorder module manifest validation in main.ps1 for improved execution…
MariusStorhaug Mar 5, 2025
b7ce99a
Add output of available modules after installation in main.ps1
MariusStorhaug Mar 5, 2025
bb2d9b1
Fix module copy command to include all files in the source path
MariusStorhaug Mar 5, 2025
3545e31
Fix code path assignment to ensure correct directory path retrieval i…
MariusStorhaug Mar 5, 2025
3587cbc
Refactor module import process in main.ps1 for improved logging and c…
MariusStorhaug Mar 5, 2025
45990fa
Refactor PSModule.Tests.ps1 to streamline module import and manifest …
MariusStorhaug Mar 5, 2025
5b296fe
Add PSModuleHelpers installation step and remove deprecated helper sc…
MariusStorhaug Mar 5, 2025
01fc381
Update Install-PSModuleHelpers action to use version 1
MariusStorhaug Mar 5, 2025
35588d9
Update module installation to capture and store the code path returne…
MariusStorhaug Mar 5, 2025
e45c49c
Add CodeCoverage_CoveragePercentTarget parameter to action.yml
MariusStorhaug Mar 6, 2025
08e6775
Update WorkingDirectory default value to current directory in README …
MariusStorhaug Mar 6, 2025
bf83470
Remove GITHUB_TOKEN environment variable from Auto-Release workflow
MariusStorhaug Mar 8, 2025
976a84e
Add outputs for test run results in action.yml
MariusStorhaug Mar 9, 2025
e7186d6
Update Invoke-Pester action to version 4 and remove StepSummary_Enabl…
MariusStorhaug Mar 9, 2025
3685052
Refactor output handling in main.ps1 to use GITHUB_OUTPUT for setting…
MariusStorhaug Mar 10, 2025
611fcc7
Refactor action.yml to streamline test path retrieval by executing ma…
MariusStorhaug Mar 10, 2025
55f8a21
Update action.yml to set working directory for test path retrieval
MariusStorhaug Mar 10, 2025
49257cc
Refactor action.yml to simplify environment variable retrieval for te…
MariusStorhaug Mar 10, 2025
c060792
Refactor action.yml to enhance clarity in environment variable usage
MariusStorhaug Mar 10, 2025
aa46af5
Refactor action.yml to improve environment variable management and en…
MariusStorhaug Mar 10, 2025
ef7d899
Update README.md to add a blank line for improved formatting
MariusStorhaug Mar 10, 2025
d4cfada
Remove unnecessary blank line in README.md for improved formatting
MariusStorhaug Mar 10, 2025
ef5bbec
Add TestResult_Enabled flag to action.yml for enhanced test configura…
MariusStorhaug Mar 23, 2025
d58009d
Refactor GitHub Actions workflows by deleting obsolete Action-Test.ym…
MariusStorhaug Mar 23, 2025
77488b7
Rename GitHub Actions workflows for clarity: Action-Test to Action-Te…
MariusStorhaug Mar 23, 2025
71516aa
Add CodeCoveragePercentTarget input and update related configurations…
MariusStorhaug Mar 23, 2025
3496ea1
Add CodeCoverage_CoveragePercentTarget to workflow and update README.md
MariusStorhaug Mar 23, 2025
25bb734
Fix typo in action.yml for StepSummary_ShowConfiguration input
MariusStorhaug Mar 23, 2025
2af6300
Update CodeCoverage_CoveragePercentTarget in workflows and action.yml
MariusStorhaug Mar 23, 2025
ee510fd
Add CoveragePercentTarget to CodeCoverage configuration in Module.Con…
MariusStorhaug Mar 23, 2025
0790471
Update CodeCoverage_CoveragePercentTarget to 30 in Action-Test-output…
MariusStorhaug Mar 23, 2025
2574246
Update TestResult_TestSuiteName format in action.yml
MariusStorhaug Mar 23, 2025
c54aff5
Update TestResult_TestSuiteName format in action.yml
MariusStorhaug Mar 23, 2025
305abf7
Refactor README.md for clarity and detail on testing framework and ou…
MariusStorhaug Apr 17, 2025
7b0d5ff
Update README.md to include additional configuration options for test…
MariusStorhaug Apr 17, 2025
466446e
Update README.md outputs section and simplify Module.Configuration.ps1
MariusStorhaug Apr 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 6 additions & 21 deletions .github/workflows/Action-Test-Src-Default.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Action-Test [Src-Default]
name: Action-Test-Src-Default

run-name: "Action-Test [Src-Default] - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
run-name: 'Action-Test-Src-Default - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}'

on:
workflow_dispatch:
Expand All @@ -15,36 +15,21 @@ concurrency:
permissions: {}

jobs:
ActionTest:
ActionTestSrcDefault:
name: Action-Test [Src-Default] - [${{ matrix.os }}]
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: Action-Test [Src-Default] - [${{ matrix.os }}]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Initialize environment
uses: PSModule/Initialize-PSModule@main

- name: Action-Test
uses: ./
id: action-test
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Name: PSModuleTest
Path: tests/src
TestType: SourceCode

- name: Status
shell: pwsh
env:
PASSED: ${{ steps.action-test.outputs.passed }}
run: |
Write-Host "Passed: [$env:PASSED]"
if ($env:PASSED -ne 'true') {
exit 1
}
WorkingDirectory: tests/srcTestRepo
Settings: SourceCode
27 changes: 6 additions & 21 deletions .github/workflows/Action-Test-Src-WithManifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Action-Test [Src-WithManifest]
name: Action-Test-Src-WithManifest

run-name: "Action-Test [Src-WithManifest] - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
run-name: 'Action-Test-Src-WithManifest - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}'

on:
workflow_dispatch:
Expand All @@ -15,36 +15,21 @@ concurrency:
permissions: {}

jobs:
ActionTest:
ActionTestsSrcWithManifest:
name: Action-Test [Src-WithManifest] - [${{ matrix.os }}]
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: Action-Test [Src-WithManifest] - [${{ matrix.os }}]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Initialize environment
uses: PSModule/Initialize-PSModule@main

- name: Action-Test
uses: ./
id: action-test
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Name: PSModuleTest
Path: tests/srcWithManifest
TestType: SourceCode

- name: Status
shell: pwsh
env:
PASSED: ${{ steps.action-test.outputs.passed }}
run: |
Write-Host "Passed: [$env:PASSED]"
if ($env:PASSED -ne 'true') {
exit 1
}
WorkingDirectory: tests/srcWithManifestTestRepo
Settings: SourceCode
28 changes: 7 additions & 21 deletions .github/workflows/Action-Test-outputs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Action-Test [outputs]
name: Action-Test-outputs

run-name: "Action-Test [outputs] - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
run-name: 'Action-Test-outputs - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}'

on:
workflow_dispatch:
Expand All @@ -15,36 +15,22 @@ concurrency:
permissions: {}

jobs:
ActionTest:
ActionTestOutputs:
name: Action-Test [outputs] - [${{ matrix.os }}]
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: Action-Test [outputs] - [${{ matrix.os }}]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Initialize environment
uses: PSModule/Initialize-PSModule@main

- name: Action-Test
uses: ./
id: action-test
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Name: PSModuleTest
Path: tests/outputs/modules
TestType: Module

- name: Status
shell: pwsh
env:
PASSED: ${{ steps.action-test.outputs.passed }}
run: |
Write-Host "Passed: [$env:PASSED]"
if ($env:PASSED -ne 'true') {
exit 1
}
WorkingDirectory: tests/outputTestRepo
Settings: Module
CodeCoverage_CoveragePercentTarget: 30
2 changes: 0 additions & 2 deletions .github/workflows/Auto-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,5 @@ jobs:

- name: Auto-Release
uses: PSModule/Auto-Release@v1
env:
GITHUB_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication
with:
IncrementalPrerelease: false
Loading
Loading