Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 12 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PSEdition: Core
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PSEdition: Desktop

build_script:
- ps: if ( $env:PSEdition -eq 'Desktop' ) { ./tst/test.ps1 -CIBuild }
- pwsh: if ( $env:PSEdition -eq 'Core' ) { ./tst/test.ps1 -CIBuild }
- pwsh: (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Join-Path $PWD 'TestResults.xml'))

2 changes: 1 addition & 1 deletion tst/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ try {

"Running all tests from: $path"
if ($CIBuild) {
Invoke-Pester $path -EnableExit
Invoke-Pester $path -EnableExit -OutputFormat NUnitXml -OutputFile '..\TestResults.xml'
}
else {
Invoke-Pester $path -Show Summary, Failed
Expand Down