1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Use appveyor reporter instead of a file upload (#5438)

* Use appveyor reporter instead of file upload

* Use tagged version of appveyor reporter
This commit is contained in:
Bruce Weirdan 2021-03-20 05:25:34 +02:00 committed by GitHub
parent 0579c1109b
commit 8d78372d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,3 @@ test_script:
- cd c:\projects\php-project-workspace
- vendor/bin/paratest --log-junit build/phpunit/phpunit.xml
- 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))

View File

@ -52,6 +52,7 @@
"slevomat/coding-standard": "^6.3.11",
"squizlabs/php_codesniffer": "^3.5",
"symfony/process": "^4.3",
"weirdan/phpunit-appveyor-reporter": "^1.0.0",
"weirdan/prophecy-shim": "^1.0 || ^2.0"
},
"suggest": {

View File

@ -48,4 +48,7 @@
<directory>tests</directory>
</testsuite>
</testsuites>
<extensions>
<extension class="Weirdan\PhpUnitAppVeyorReporter\Listener"></extension>
</extensions>
</phpunit>