Skip to content

Commit

Permalink
Upload test results to AppVeyor (#1918)
Browse files Browse the repository at this point in the history
So that it shows up in `Tests` tab, not only `Console`
  • Loading branch information
weirdan authored and muglug committed Jul 7, 2019
1 parent 210ac39 commit 0dfbf48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .appveyor.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -66,5 +66,9 @@ install:
## Run the actual test ## Run the actual test
test_script: test_script:
- cd c:\projects\php-project-workspace - cd c:\projects\php-project-workspace
- vendor/bin/phpunit - vendor/bin/phpunit --log-junit build/phpunit/phpunit.xml
- php ./psalm --shepherd - php ./psalm --shepherd

on_finish:
- ps: $wc = New-Object 'System.Net.WebClient'
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\build\phpunit\phpunit.xml))

0 comments on commit 0dfbf48

Please sign in to comment.