Skip to content
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

Create hooks package to run pester post install #7

Open
steviecoaster opened this issue Jan 18, 2023 · 0 comments
Open

Create hooks package to run pester post install #7

steviecoaster opened this issue Jan 18, 2023 · 0 comments

Comments

@steviecoaster
Copy link

We could leverage Pester tests in a post hook to perform validation that the package did everything correctly, and fail the package if any tests fail.

steviecoaster added a commit to steviecoaster/chocolatey-hooks that referenced this issue Jan 18, 2023
This commit adds a hook package to this repository which executes any
pester tests that have been included in a tests folder inside the package.

Package parameters are provided to allow skipping of execution of the pester
tests to allow for other hooks that may be required to run as opposed to using
the global --skip-hooks parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant