2929 with :
3030 php-version : ${{ matrix.php-versions }}
3131 tools : composer, pecl, phpunit
32- extensions : intl, json, mbstring, mysqlnd, xdebug, xml, sqlite3
32+ extensions : intl, json, mbstring, gd, mysqlnd, xdebug, xml, sqlite3
3333 coverage : xdebug
34+ env :
35+ COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3436
3537 - name : Get composer cache directory
3638 id : composer-cache
@@ -43,11 +45,19 @@ jobs:
4345 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
4446 restore-keys : ${{ runner.os }}-composer-
4547
46- - name : Install dependencies
48+ - name : Install dependencies (limited)
49+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name }}
50+ run : composer update --no-progress --no-interaction --prefer-dist --optimize-autoloader
51+
52+ - name : Install dependencies (authenticated)
53+ if : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
4754 run : composer update --no-progress --no-interaction --prefer-dist --optimize-autoloader
4855 env :
4956 COMPOSER_AUTH : ${{ secrets.COMPOSER_AUTH }}
5057
58+ - name : Enable Tachycardia
59+ run : echo "TACHYCARDIA_MONITOR_GA=enabled" >> $GITHUB_ENV
60+
5161 - name : Test with PHPUnit
5262 run : vendor/bin/phpunit --verbose --coverage-text
5363 env :
0 commit comments