Merge pull request #148 from mhor/symfony-7 #22
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: Code Quality | |
on: | |
push: | |
branches: | |
- master | |
env: | |
LANG: "en_US.UTF-8" | |
jobs: | |
test_coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: git fetch --depth=100000 origin | |
# see https://github.com/shivammathur/setup-php | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
coverage: pcov | |
- run: composer install --no-progress | |
- run : | | |
vendor/bin/phpunit --coverage-clover build/logs/clover.xml | |
# coveralls.io | |
wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.1.0/php-coveralls.phar | |
php php-coveralls.phar --verbose | |
env: | |
COVERALLS_REPO_TOKEN: 'WTo6E8OMtzbMN3dkSjujrCJiNrPrAJI43' |