Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
1a454b5
Remove main script and add GitHub workflows for release notes, depend…
MariusStorhaug Jan 22, 2025
e8f22cb
Add initial test scripts and configuration for Cars, Animals, and Pla…
MariusStorhaug Feb 10, 2025
0ec58d0
Refactor main script to streamline test execution and remove obsolete…
MariusStorhaug Feb 10, 2025
5ceb0e6
Add installation of Pester module in main script for testing framewor…
MariusStorhaug Feb 10, 2025
7017983
Add installation of PSScriptAnalyzer module alongside Pester in main …
MariusStorhaug Feb 10, 2025
b1146aa
Remove force option from PSScriptAnalyzer installation in main script
MariusStorhaug Feb 10, 2025
2917ff5
Enhance Pester configuration and streamline main script for improved …
MariusStorhaug Feb 14, 2025
1c1da05
Add TrustRepository option to Install-PSResource for Pester and PSScr…
MariusStorhaug Feb 14, 2025
67c2d29
Refactor GitHub Actions workflow and update main script output format…
MariusStorhaug Feb 14, 2025
ef3778f
Update variable output format in main script to use Select-Object for…
MariusStorhaug Feb 14, 2025
56847e1
Refactor input handling in main script to use a hashtable for improve…
MariusStorhaug Feb 14, 2025
bd042ca
Change output format in main script from Format-Table to Format-List …
MariusStorhaug Feb 14, 2025
df27062
Improve output formatting in main script to exclude empty parameters …
MariusStorhaug Feb 14, 2025
c1ccc06
Add Merge-Hashtable function and refactor input handling for improved…
MariusStorhaug Feb 14, 2025
94ab3ae
Refactor configuration loading to improve path handling and ensure va…
MariusStorhaug Feb 14, 2025
96eb9fe
Enhance custom configuration loading by adding file existence check a…
MariusStorhaug Feb 14, 2025
da8fe36
Initialize default and custom configuration hashtables for improved c…
MariusStorhaug Feb 14, 2025
7f94eed
Refactor output handling in main script to use JSON formatting for be…
MariusStorhaug Feb 14, 2025
39c8bfc
MariusStorhaug Feb 14, 2025
1a3d959
Improve custom configuration loading by enhancing file existence chec…
MariusStorhaug Feb 14, 2025
16eea34
Remove commented-out code for cleaner script and improved readability
MariusStorhaug Feb 14, 2025
c4b07ec
Refactor configuration loading to eliminate redundancy and enhance cl…
MariusStorhaug Feb 14, 2025
23524f6
Refactor custom configuration loading to improve structure and enhanc…
MariusStorhaug Feb 14, 2025
1fdb490
Refactor configuration loading to streamline variable assignments and…
MariusStorhaug Feb 14, 2025
28ffb3b
Refactor configuration loading to improve variable initialization and…
MariusStorhaug Feb 14, 2025
fa5bc1f
Refactor configuration loading to simplify variable assignments and e…
MariusStorhaug Feb 14, 2025
77be621
Refactor Merge-Hashtable function to simplify null or empty check for…
MariusStorhaug Feb 14, 2025
0686bae
Fix variable reference in configuration loading to ensure correct output
MariusStorhaug Feb 14, 2025
acb56d4
Refactor configuration loading to improve clarity and streamline cust…
MariusStorhaug Feb 14, 2025
b0ba666
Refactor configuration loading to simplify assignment of custom confi…
MariusStorhaug Feb 14, 2025
22741b9
Reduce JSON depth in container logging for improved readability
MariusStorhaug Feb 14, 2025
47454d5
Reduce JSON depth in container logging for improved readability
MariusStorhaug Feb 14, 2025
8fb23c9
Update configuration paths and streamline container scripts for impro…
MariusStorhaug Feb 14, 2025
6831746
Fix custom configuration file path assignment in main.ps1 script
MariusStorhaug Feb 14, 2025
12af6a4
Improve null or empty value checks in custom configuration loading
MariusStorhaug Feb 14, 2025
5c9d639
Improve null or empty value checks in Merge-Hashtable function
MariusStorhaug Feb 14, 2025
64a7eee
Refactor configuration loading to append containers and improve loggi…
MariusStorhaug Feb 14, 2025
cb15d97
Enhance logging for container loading and test results in main.ps1 sc…
MariusStorhaug Feb 14, 2025
b917369
Refactor Helpers.psm1 to remove unnecessary calls to New-PesterContai…
MariusStorhaug Feb 14, 2025
cc9fc5d
Increase JSON depth for container logging in main.ps1
MariusStorhaug Feb 14, 2025
19430f0
Refactor container loading to utilize New-PesterContainer for improve…
MariusStorhaug Feb 14, 2025
3271534
Refactor Get-PesterConfiguration to streamline file processing and re…
MariusStorhaug Feb 14, 2025
d1f4c18
Refactor Helpers.psm1 to eliminate unnecessary variable assignments i…
MariusStorhaug Feb 14, 2025
bb9fbd0
Refactor test scripts to use parameterized path for settings file loa…
MariusStorhaug Feb 14, 2025
4038037
Remove redundant tests for animal count and names in Animals.Tests.ps1
MariusStorhaug Feb 14, 2025
21d2a10
Convert test results to JSON format before setting GitHub output
MariusStorhaug Feb 14, 2025
a58ccdf
Reduce JSON conversion depth for test results in GitHub output
MariusStorhaug Feb 14, 2025
daddab3
Reduce JSON conversion depth for GitHub output in main.ps1
MariusStorhaug Feb 14, 2025
d0cb9c8
Increase JSON conversion depth for GitHub output in main.ps1
MariusStorhaug Feb 14, 2025
af0d260
Increase JSON conversion depth for test results in GitHub output
MariusStorhaug Feb 14, 2025
513bfb2
No code changes made
MariusStorhaug Feb 14, 2025
d56a9a1
Update Pester configuration to enable test results and specify output…
MariusStorhaug Feb 14, 2025
ddf60b2
Fix test results summary to use TotalCount and improve code coverage …
MariusStorhaug Feb 14, 2025
f390f4c
Add inconclusive and not run test counts to summary output
MariusStorhaug Feb 14, 2025
a22f7a2
Refactor test results output to use structured JSON and improve cover…
MariusStorhaug Feb 14, 2025
933301f
Refactor test summary generation for improved readability and structure
MariusStorhaug Feb 14, 2025
d19bf22
Enhance test results summary to include detailed test outcomes and du…
MariusStorhaug Feb 14, 2025
9eb734e
Update test summary output to include duration in seconds and improve…
MariusStorhaug Feb 14, 2025
6fcd8fa
Update test summary output to use italic formatting for duration
MariusStorhaug Feb 14, 2025
d8fe034
Improve test summary output by including duration in parentheses and …
MariusStorhaug Feb 14, 2025
ef5e9ae
Refactor summary generation for improved clarity and consistency
MariusStorhaug Feb 14, 2025
97266a2
Refactor test summary output to improve error message formatting for …
MariusStorhaug Feb 14, 2025
c249e9b
Update test summary output to include status icon for better visual i…
MariusStorhaug Feb 14, 2025
0f450f7
Refactor error message handling in test summary output for improved f…
MariusStorhaug Feb 14, 2025
62f164a
Refactor error message handling in test summary output to display exc…
MariusStorhaug Feb 14, 2025
4fb2e3c
Add newline to error message output in test summary for better readab…
MariusStorhaug Feb 14, 2025
9a4c6bb
Add Format-TimeSpan function for improved time duration formatting in…
MariusStorhaug Feb 14, 2025
7cb9c98
Enhance Format-TimeSpan function with precision and adaptive rounding…
MariusStorhaug Feb 15, 2025
621539e
Refactor configuration handling in main script for improved clarity a…
MariusStorhaug Feb 15, 2025
ec9aadd
Add emoji data initialization and Get-Emoji function for enhanced emo…
MariusStorhaug Feb 15, 2025
a347866
Add data and test files for Cars, Animals, and Planets modules to enh…
MariusStorhaug Feb 15, 2025
3f3efed
Add separate test jobs for Simple and Standard actions in GitHub work…
MariusStorhaug Feb 15, 2025
975daac
Refactor Emoji tests to improve module importability and update data …
MariusStorhaug Feb 15, 2025
e102e51
Refactor test result processing for improved readability and add Pass…
MariusStorhaug Feb 15, 2025
06f0644
Enhance test result output by adding test count display for improved …
MariusStorhaug Feb 15, 2025
94f2e4b
Improve test output by adding processing details and enhance error ha…
MariusStorhaug Feb 15, 2025
004f1aa
Enhance test summary output by formatting duration for improved reada…
MariusStorhaug Feb 15, 2025
cc2e994
Add debugging step to GitHub Actions and link to run summary in test …
MariusStorhaug Feb 15, 2025
3b4cf68
Refactor test output processing to streamline test iteration and remo…
MariusStorhaug Feb 15, 2025
c8ac62f
Add output paths for artifacts upload in GitHub Actions
MariusStorhaug Feb 15, 2025
233fc62
Add checks for output paths in GitHub Actions and log warnings if not…
MariusStorhaug Feb 15, 2025
df76460
Refactor output path handling in GitHub Actions to improve clarity an…
MariusStorhaug Feb 15, 2025
7ad5269
Fix output path retrieval for code coverage and test results in GitHu…
MariusStorhaug Feb 15, 2025
d690590
Update output paths for code coverage and test results in GitHub Actions
MariusStorhaug Feb 15, 2025
057c7a6
Convert output values to JSON format for artifacts upload in GitHub A…
MariusStorhaug Feb 15, 2025
022dab2
Add additional output paths for test results and code coverage in Git…
MariusStorhaug Feb 15, 2025
b794146
Reduce JSON conversion depth for test results and code coverage outpu…
MariusStorhaug Feb 15, 2025
deb4cf0
Refactor output handling for test results in GitHub Actions and impro…
MariusStorhaug Feb 15, 2025
479c2ac
Add debug mode option and improve output handling in GitHub Actions
MariusStorhaug Feb 15, 2025
cedd01c
Update README with nested details section and improve output handling…
MariusStorhaug Feb 15, 2025
99f958c
Reduce JSON conversion depth for output values in main.ps1
MariusStorhaug Feb 15, 2025
d549a0c
Refactor Emoji.Configuration.ps1 to improve structure and clarify out…
MariusStorhaug Feb 15, 2025
74c41e4
Enhance test results summary header to include test suite name
MariusStorhaug Feb 15, 2025
6609b30
Update test results summary to use a table format and include test su…
MariusStorhaug Feb 15, 2025
fd83882
Refactor test results summary in main.ps1 to use a markdown format wi…
MariusStorhaug Feb 15, 2025
0fef682
Refactor Pester test results summary in main.ps1 to enhance markdown …
MariusStorhaug Feb 15, 2025
426a878
Add verbose logging for test processing in main.ps1
MariusStorhaug Feb 15, 2025
a270782
Refactor test results summary in main.ps1 to include test suite name …
MariusStorhaug Feb 15, 2025
7aaf68e
Refactor test results summary in main.ps1 to include container detail…
MariusStorhaug Feb 15, 2025
0a823e9
Fix variable name for container iteration in main.ps1
MariusStorhaug Feb 15, 2025
5d9841e
Enhance test results summary formatting and add verbose logging for c…
MariusStorhaug Feb 15, 2025
9321073
Refactor test results summary in main.ps1 to improve container detail…
MariusStorhaug Feb 15, 2025
37f0a01
Refactor test results processing in main.ps1 to improve container tes…
MariusStorhaug Feb 15, 2025
1fc008c
Fix expected emoji output for giraffe test in Emoji.Tests.ps1
MariusStorhaug Feb 15, 2025
b06f321
Enhance test results summary with detailed container information and …
MariusStorhaug Feb 15, 2025
30ecaca
Refactor test results summary in main.ps1 to enhance container detail…
MariusStorhaug Feb 15, 2025
380de51
Refactor test results summary in main.ps1 to remove unnecessary HTML …
MariusStorhaug Feb 15, 2025
3f98995
Refactor markdown summary formatting in main.ps1 to improve readability
MariusStorhaug Feb 15, 2025
c468578
Remove unnecessary blank line in test results summary for cleaner output
MariusStorhaug Feb 15, 2025
f0e7eec
Fix indentation in test results summary for improved readability
MariusStorhaug Feb 15, 2025
8e51fa6
Fix indentation in container details summary for improved readability
MariusStorhaug Feb 15, 2025
a4f332e
Remove unnecessary blank lines in test summary for cleaner output
MariusStorhaug Feb 15, 2025
25a24e5
Improve indentation and structure of details in test results summary …
MariusStorhaug Feb 15, 2025
b064d74
Fix indentation and structure in test results summary for improved re…
MariusStorhaug Feb 15, 2025
d5cd8ca
Enhance indentation in test results summary for improved clarity
MariusStorhaug Feb 15, 2025
fa98e0b
Adjust indentation in test results summary for improved alignment
MariusStorhaug Feb 15, 2025
9ea4d04
Refactor test results summary for improved clarity and detail present…
MariusStorhaug Feb 15, 2025
cc8ce9f
Refactor test results summary to include test path in the details sum…
MariusStorhaug Feb 15, 2025
82058cd
Improve formatting in test results summary for better readability
MariusStorhaug Feb 15, 2025
f23db6e
Fix test path retrieval in test results summary for accurate reporting
MariusStorhaug Feb 15, 2025
abaaebb
Refactor test results summary to remove redundant details and enhance…
MariusStorhaug Feb 15, 2025
40cccfd
Add function to group tests in markdown by their path for improved su…
MariusStorhaug Feb 15, 2025
11e3c14
Refactor indentation handling in markdown generation for test results…
MariusStorhaug Feb 15, 2025
6c80487
Refactor markdown generation for test results to improve readability …
MariusStorhaug Feb 15, 2025
4233f15
Enhance markdown grouping for test results by adding aggregate status…
MariusStorhaug Feb 15, 2025
ff9c116
Refactor markdown generation for grouped test results by removing red…
MariusStorhaug Feb 15, 2025
d17a30a
Refactor configuration loading in main script for improved readabilit…
MariusStorhaug Feb 15, 2025
05b0452
Add indentation handling for markdown generation in Helpers.psm1
MariusStorhaug Feb 15, 2025
4b1eb15
Fix markdown formatting in Helpers.psm1 by adding missing line breaks…
MariusStorhaug Feb 15, 2025
323fa93
Refactor markdown generation in Get-GroupedTestMarkdown function by r…
MariusStorhaug Feb 15, 2025
4de1502
Comment out container initialization in Pester.Configuration.ps1 for …
MariusStorhaug Feb 15, 2025
59c7c8b
Refactor summary markdown generation in main.ps1 by removing test sui…
MariusStorhaug Feb 15, 2025
934e623
Add separator lines to summary markdown generation in main.ps1 for im…
MariusStorhaug Feb 15, 2025
de53839
Adjust indentation level in Get-GroupedTestMarkdown and update depth …
MariusStorhaug Feb 15, 2025
127b3cb
Remove unnecessary line breaks in summary markdown generation for imp…
MariusStorhaug Feb 15, 2025
da15df9
Update indentation and add paragraph tags in markdown generation for …
MariusStorhaug Feb 15, 2025
127f193
Add aggregate duration calculation to grouped test markdown generation
MariusStorhaug Feb 15, 2025
f11413b
Refactor aggregate duration calculation in Get-GroupedTestMarkdown fo…
MariusStorhaug Feb 15, 2025
5ac2a9d
Fix aggregate duration calculation in Get-GroupedTestMarkdown for imp…
MariusStorhaug Feb 15, 2025
61155fe
Improve aggregate duration formatting in markdown generation for cons…
MariusStorhaug Feb 15, 2025
2e01460
Refactor Format-TimeSpan to use AdaptivePrecision for improved durati…
MariusStorhaug Feb 15, 2025
2f0a081
Refactor Format-TimeSpan to remove AdaptivePrecision parameter for si…
MariusStorhaug Feb 15, 2025
b187424
Add formatted test duration to summary markdown for improved clarity
MariusStorhaug Feb 15, 2025
f68664f
Initialize container configuration if not set during load
MariusStorhaug Feb 15, 2025
e2ef1f0
Refactor container initialization in Pester configuration scripts for…
MariusStorhaug Feb 15, 2025
791a8ca
Refactor container initialization in Emoji configuration to use New-P…
MariusStorhaug Feb 15, 2025
aefe9b8
Refactor container handling in main script to improve container initi…
MariusStorhaug Feb 15, 2025
1574be0
Fix container initialization logic to correctly pass parameters to Ne…
MariusStorhaug Feb 15, 2025
7af9e2e
Enhance container initialization logic to dynamically load containers…
MariusStorhaug Feb 15, 2025
10afe25
Refactor Emoji configuration to simplify container initialization logic
MariusStorhaug Feb 15, 2025
2070be1
Remove direct container loading from Emoji configuration to streamlin…
MariusStorhaug Feb 15, 2025
c30a623
Refactor container initialization to simplify conversion of hashtable…
MariusStorhaug Feb 15, 2025
067202d
Refactor container loading logic to utilize Get-PesterContainer for d…
MariusStorhaug Feb 15, 2025
79f32af
Fix typo in container retrieval logic to correctly reference the Cont…
MariusStorhaug Feb 15, 2025
6fac8ad
Clean up whitespace in configuration initialization
MariusStorhaug Feb 15, 2025
53d85f7
Fix expected output for Get-Emoji test to return the correct emoji fo…
MariusStorhaug Feb 15, 2025
27d99ca
Update test results summary markdown format for improved readability
MariusStorhaug Feb 15, 2025
ad40c31
Add output statements to log container counts and details during conf…
MariusStorhaug Feb 15, 2025
bf99c9b
Fix container retrieval logic to use the correct script root path
MariusStorhaug Feb 15, 2025
c3783b2
Enhance action.yml to include detailed test result outputs and upload…
MariusStorhaug Feb 15, 2025
e158798
Add output check step to action.yml for enhanced test result visibility
MariusStorhaug Feb 15, 2025
3c39ed2
Fix output handling in action.yml to correctly parse test results
MariusStorhaug Feb 15, 2025
d283009
Enhance action.yml and main.ps1 to output detailed test result and co…
MariusStorhaug Feb 15, 2025
972fc2e
Fix condition checks in action.yml for uploading test results and cod…
MariusStorhaug Feb 15, 2025
c00ae75
Refactor action.yml to simplify test result and code coverage report …
MariusStorhaug Feb 15, 2025
f652902
Comment out condition checks for uploading test results and code cove…
MariusStorhaug Feb 15, 2025
2f4520c
Add .gitattributes and update markdown-lint.yml for consistent line e…
MariusStorhaug Feb 15, 2025
6e5e9d8
Refactor action.yml to improve condition checks for uploading test re…
MariusStorhaug Feb 15, 2025
af80636
Update test configurations to specify test suite names and comment ou…
MariusStorhaug Feb 15, 2025
4082f12
Refactor action inputs to unify path handling and improve configurati…
MariusStorhaug Feb 15, 2025
4d20301
Update Get-PesterConfiguration to use Write-Verbose for missing confi…
MariusStorhaug Feb 15, 2025
4b1792a
Add Clear-PesterConfigurationEmptyValues filter to clean empty hashta…
MariusStorhaug Feb 15, 2025
417bdd6
Update action.yml to reflect author as PSModule and clean up whitespa…
MariusStorhaug Feb 16, 2025
76ecec5
Add README
MariusStorhaug Feb 16, 2025
43047b4
Update README to clarify configuration merging process and improve wo…
MariusStorhaug Feb 16, 2025
2ac835a
MariusStorhaug Feb 16, 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
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Needed for publishing of examples, build worker defaults to core.autocrlf=input.
* text eol=autocrlf

*.mof text eol=crlf
*.sh text eol=lf
*.svg eol=lf

# Ensure any exe files are treated as binary
*.exe binary
*.jpg binary
*.xl* binary
*.pfx binary
*.png binary
*.dll binary
*.so binary
50 changes: 50 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
* @PSModule/framework-maintainers

# Order is important; the last matching pattern takes the most
# precedence. When someone opens a pull request that only
# modifies JS files, only @js-owner and not the global
# owner(s) will be requested for a review.
# *.js @js-owner

# You can also use email addresses if you prefer. They'll be
# used to look up users just like we do for commit author
# emails.
# *.go docs@example.com

# Teams can be specified as code owners as well. Teams should
# be identified in the format @org/team-name. Teams must have
# explicit write access to the repository. In this example,
# the octocats team in the octo-org organization owns all .txt files.
# *.txt @octo-org/octocats

# In this example, @doctocat owns any files in the build/logs
# directory at the root of the repository and any of its
# subdirectories.
# /build/logs/ @doctocat

# The `docs/*` pattern will match files like
# `docs/getting-started.md` but not further nested files like
# `docs/build-app/troubleshooting.md`.
# docs/* docs@example.com

# In this example, @octocat owns any file in an apps directory
# anywhere in your repository.
# apps/ @octocat

# In this example, @doctocat owns any file in the `/docs`
# directory in the root of your repository and any of its
# subdirectories.
# /docs/ @doctocat

# In this example, @octocat owns any file in the `/apps`
# directory in the root of your repository except for the `/apps/github`
# subdirectory, as its owners are left empty.
# /apps/ @octocat
# /apps/github
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: github-actions # See documentation for possible values
directory: / # Location of package manifests
schedule:
interval: weekly
25 changes: 25 additions & 0 deletions .github/linters/.markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
###########################
## Markdown Linter rules ##
###########################

# Linter rules doc:
# - https://github.com/DavidAnson/markdownlint

###############
# Rules by id #
###############
MD004: false # Unordered list style
MD007:
indent: 2 # Unordered list indentation
MD013:
line_length: 808 # Line length
MD026:
punctuation: '.,;:!。,;:' # List of not allowed
MD029: false # Ordered list item prefix
MD033: false # Allow inline HTML
MD036: false # Emphasis used instead of a heading

#################
# Rules by tags #
#################
blank_lines: false # Error on blank lines
18 changes: 18 additions & 0 deletions .github/linters/.powershell-psscriptanalyzer.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#Documentation: https://github.com/PowerShell/PSScriptAnalyzer/blob/master/docs/Cmdlets/Invoke-ScriptAnalyzer.md#-settings
@{
#CustomRulePath='path\to\CustomRuleModule.psm1'
#RecurseCustomRulePath='path\of\customrules'
#Severity = @(
# 'Error'
# 'Warning'
#)
#IncludeDefaultRules=${true}
ExcludeRules = @(
'PSMissingModuleManifestField'
'PSAvoidUsingWriteHost'
)
#IncludeRules = @(
# 'PSAvoidUsingWriteHost',
# 'MyCustomRuleName'
#)
}
18 changes: 18 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes

changelog:
exclude:
labels:
- NoRelease
categories:
- title: 🌟 Breaking Changes
labels:
- Major
- Breaking
- title: 🚀 New Features
labels:
- Minor
- Feature
- title: Other Changes
labels:
- '*'
89 changes: 57 additions & 32 deletions .github/workflows/Action-Test.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,57 @@
name: Action-Test

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

on:
workflow_dispatch:
pull_request:
schedule:
- cron: '0 0 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: read

jobs:
ActionTestBasic:
name: Action-Test - [Basic]
runs-on: ubuntu-latest
steps:
# Need to check out as part of the test, as its a local action
- name: Checkout repo
uses: actions/checkout@v4

- name: Action-Test
uses: ./
with:
working-directory: ./tests
subject: PSModule
name: Action-Test

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

on:
workflow_dispatch:
pull_request:
schedule:
- cron: '0 0 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: read

jobs:
ActionTest1Simple:
name: Action-Test - [1-Simple]
runs-on: ubuntu-latest
steps:
# Need to check out as part of the test, as its a local action
- name: Checkout repo
uses: actions/checkout@v4

- name: Action-Test [1-Simple]
uses: ./
with:
Path: tests/1-Simple

ActionTest2Standard:
name: Action-Test - [2-Standard]
runs-on: ubuntu-latest
steps:
# Need to check out as part of the test, as its a local action
- name: Checkout repo
uses: actions/checkout@v4

- name: Action-Test [2-Standard]
uses: ./
with:
Path: tests/2-Standard

ActionTestAdvanced:
name: Action-Test - [3-Advanced]
runs-on: ubuntu-latest
steps:
# Need to check out as part of the test, as its a local action
- name: Checkout repo
uses: actions/checkout@v4

- name: Action-Test [3-Advanced]
uses: ./
with:
Path: tests/3-Advanced/Pester.Configuration.ps1
34 changes: 0 additions & 34 deletions .github/workflows/Auto-Configure.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/Auto-Document.yml

This file was deleted.

68 changes: 34 additions & 34 deletions .github/workflows/Auto-Release.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
name: Auto-Release
run-name: "Auto-Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
on:
pull_request_target:
branches:
- main
types:
- closed
- opened
- reopened
- synchronize
- labeled
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write # Required to create releases
pull-requests: write # Required to create comments on the PRs
jobs:
Auto-Release:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Auto-Release
uses: PSModule/Auto-Release@v1
env:
GITHUB_TOKEN: ${{ github.token }}
name: Auto-Release

run-name: "Auto-Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"

on:
pull_request_target:
branches:
- main
types:
- closed
- opened
- reopened
- synchronize
- labeled

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: write # Required to create releases
pull-requests: write # Required to create comments on the PRs

jobs:
Auto-Release:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Auto-Release
uses: PSModule/Auto-Release@v1
env:
GITHUB_TOKEN: ${{ github.token }}
Loading