Skip to content

Prevent Pester from running when only non PS1 files are changed#1632

Merged
bill-long merged 1 commit into
mainfrom
dpaul-PesterUpdate
Mar 27, 2023
Merged

Prevent Pester from running when only non PS1 files are changed#1632
bill-long merged 1 commit into
mainfrom
dpaul-PesterUpdate

Conversation

@dpaulson45
Copy link
Copy Markdown
Member

Issue:
No need to waste the build pipeline on pester if we don't have ps1 files that are changed.

Fix:
Shared the code that finds all the files that are changed in the branch. Made pester use it and only will do pester tests if there are any ps1 files changes.

Validation:
Tested locally

@dpaulson45 dpaulson45 requested a review from a team as a code owner March 27, 2023 21:40
@dpaulson45 dpaulson45 added the Build Process Label for build and release pipeline related items label Mar 27, 2023
@bill-long bill-long merged commit c67503e into main Mar 27, 2023
@bill-long bill-long deleted the dpaul-PesterUpdate branch March 27, 2023 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build Process Label for build and release pipeline related items

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants