name: CI on: [push] jobs: test: runs-on: ubuntu-latest steps: - uses: shivammathur/setup-php@v2 with: php-version: '8.0' extensions: exif - uses: actions/checkout@v2 - name: Install dependencies run: composer install --no-progress --no-interaction - name: Run tests uses: php-actions/phpunit@v2 with: php_extensions: xdebug configuration: phpunit.xml args: --coverage-clover build/logs/clover.xml env: XDEBUG_MODE: coverage - name: Upload coverage results to Coveralls env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | composer global require php-coveralls/php-coveralls php-coveralls --coverage_clover=build/logs/clover.xml -v