Skip to content

Commit

Permalink
Update appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Arawn-Davies authored Jun 23, 2021
1 parent b2c7b81 commit 4d14d87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ test_script:

on_finish:
- ps: |
$tests = 'c:\Cosmos\TestResult.xml'
if (-not(Test-Path -Path $tests -PathType Leaf)) {
$tests = "c:\Cosmos\TestResult.xml"
if ((Test-Path $tests)) {
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", $tests)
$wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", "c:\Cosmos\TestResult.xml")
}
notifications:
Expand Down

0 comments on commit 4d14d87

Please sign in to comment.