Ensure clean up composer.json & build dir after run coverage weekly (#5099)

* Ensure clean up composer.json after run coverage weekly

as it use require --dev (update composer.json) during run.

* clean build dir as well
This commit is contained in:
Abdul Malik Ikhsan 2021-01-06 18:08:03 +07:00 committed by GitHub
parent 4f6da168e0
commit 756f7dd214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,10 @@ jobs:
# Coveralls.io
composer require --dev php-coveralls/php-coveralls:^2.4
vendor/bin/php-coveralls --coverage_clover=clover.xml -v
# clean up
git checkout .
git clean -xfd build
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
branch: 'master'