Closed makaanneo closed 4 years ago
Changed script for appveyor and travis ci to execute tests for build.ps1 as pester tests
Changed the whole build file and moved all tests to the test section and upload results into the tests section of Appveyor jobs
build.sh stays as it is. Added Invoke-Pester tests to get executed on pwsh and test the build.ps1 file.
May some more sophisticated tests are needed.
$Global:ErrorActionPreference = "Stop"
@makaanneo your changes have been merged, thanks for your contribution 👍
@makaanneo Awesome contribution 👍
Summary
Changed script for appveyor and travis ci to execute tests for build.ps1 as pester tests
Appveyor
Changed the whole build file and moved all tests to the test section and upload results into the tests section of Appveyor jobs
Travis CI
build.sh stays as it is. Added Invoke-Pester tests to get executed on pwsh and test the build.ps1 file.
TODOs
May some more sophisticated tests are needed.
$Global:ErrorActionPreference = "Stop"
and last exit code)