Fix plugin with /
in the name (#553)
#83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Merge Master | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
name: Upload coverage report | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
extensions: mbstring, intl, xdebug | |
- name: Install dependencies | |
if: steps.composer-cache.outputs.cache-hit != 'true' | |
run: | | |
composer self-update | |
composer validate | |
composer install --prefer-dist --no-progress | |
- name: Coverage Report | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
composer global require php-coveralls/php-coveralls | |
export CODECOVERAGE=1 && vendor/bin/phpunit --coverage-clover=clover.xml | |
php-coveralls --coverage_clover=clover.xml -v |