File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 apt-get install -y git unzip libzip-dev libxml2-dev
2929 docker-php-ext-install xml zip
3030 if [ "${{ matrix.php-version }}" = "8.3" ]; then
31- pecl install xdebug
32- docker-php-ext-enable xdebug
31+ pecl install xdebug || echo "Warning: xdebug install failed, coverage may not work"
32+ docker-php-ext-enable xdebug || true
3333 fi
3434 php -v
3535 php -m
4848 id : composer-cache
4949 uses : actions/cache@v4
5050 with :
51- path : vendor
51+ path : /root/.composer/cache
5252 key : ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
5353 restore-keys : |
5454 ${{ runner.os }}-php-${{ matrix.php-version }}-
6767 if : matrix.php-version == '8.3'
6868 env :
6969 COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
70+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7071 run : |
7172 composer global require php-coveralls/php-coveralls
72- export PATH="$HOME /.composer/vendor/bin:$PATH"
73+ export PATH="/root /.composer/vendor/bin:$PATH"
7374 php-coveralls --coverage_clover=build/logs/clover.xml --json_path=build/logs/coveralls-upload.json -v
You can’t perform that action at this time.
0 commit comments