-
Notifications
You must be signed in to change notification settings - Fork 8.1k
build: unbundle pester #5623
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
build: unbundle pester #5623
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left some comments
.travis.yml
Outdated
| # spellcheck | ||
| - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
| mdspell '**/*.md' '!powershell/**/*.md' --ignore-numbers --ignore-acronyms --report; | ||
| mdspell '**/*.md' '!powershell/**/*.md' '!**/publish/**/*.md' --ignore-numbers --ignore-acronyms --report; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can '!powershell/**/*.md' maybe be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what it was for.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it and it appears to not be needed. I added a comment to why my exclusion is there.
build.psm1
Outdated
| $null = Start-NativeExecution {git clone --quiet $uri $clonePath} | ||
| Push-location | ||
| try { | ||
| Set-Location $clonePath |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: maybe use push-location $clonePath to combine push-location and set-location $clonePath
| { | ||
| pop-location | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: fix the indentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Should we change our contribution docs too? |
|
Please feel free to file an issue |
* remove pester module * restore Pester as a module only in CI build from the git repo * mark appveyor builds as CI builds * remove pester exclusions * mark travis builds as ci * exclude publish folder from spell check * do not run spell check on publish folder # Conflicts: # tools/appveyor.psm1 # tools/travis.ps1
# Conflicts: # tools/appveyor.psm1 # tools/travis.ps1
# Conflicts: # tools/appveyor.psm1 # tools/travis.ps1
fixes #5458
-CIswitch tostart-PSBuild-CIis specified and-PSModuleRestore