mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-17 16:51:35 +00:00
Tweak Coveralls
Coveralls recommends using an "official integration" of their product with Github. Also, allow the upload to fail without causing the whole coverage step to fail - there have been some recent problems which they are still working on. I may allow the step to fail once they are done with their changes.
This commit is contained in:
@@ -254,11 +254,12 @@ jobs:
|
||||
|
||||
- name: Upload coverage results to Coveralls
|
||||
env:
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
|
||||
chmod +x php-coveralls.phar
|
||||
php php-coveralls.phar --coverage_clover=build/clover.xml --json_path=build/coveralls-upload.json -vvv
|
||||
FAILURE_ACTION: "${{ true }}"
|
||||
uses: coverallsapp/github-action@v2
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: build/clover.xml
|
||||
format: clover
|
||||
|
||||
release:
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user