shivammathur / setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
https://setup-php.com
MIT License
2.89k stars 337 forks source link

Error run tests php 8.3. #789

Closed terabytesoftw closed 9 months ago

terabytesoftw commented 9 months ago

image

https://github.com/yii2-extensions/datetime-picker/actions/runs/6995258203/job/19029899096?pr=4

mprins commented 9 months ago

yes, me too... setup of PHP versions < 8.3 works OK, perhaps there is a download problem? https://github.com/mprins/dokuwiki-plugin-openlayersmap/actions/runs/6995334428/job/19030103385?pr=8

config:

jobs:
  test:
    name: PHP Unit
    runs-on: ubuntu-latest

    strategy:
      matrix:
        php-version: [ '8.0', '8.1', '8.2', '8.3' ]
        dokuwiki-branch: [ 'master', 'stable' ]
      fail-fast: false

    steps:
      - uses: actions/checkout@v4

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php-version }}
          extensions: mbstring, intl, bz2, gd, imagick
          ini-values: pcre.jit=0

log

##[debug]Evaluating condition for step: 'Setup PHP'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Setup PHP
##[debug]Loading inputs
##[debug]Evaluating: matrix.php-version
##[debug]Evaluating Index:
##[debug]..Evaluating matrix:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'php-version'
##[debug]=> '8.3'
##[debug]Result: '8.3'
##[debug]Loading env
Run shivammathur/setup-php@v[2](https://github.com/mprins/dokuwiki-plugin-openlayersmap/actions/runs/6995334428/job/19030103385?pr=8#step:3:2)
/usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh

==> Setup PHP
✗ PHP Could not setup PHP 8.[3](https://github.com/mprins/dokuwiki-plugin-openlayersmap/actions/runs/6995334428/job/19030103385?pr=8#step:3:3)
Error: The process '/usr/bin/bash' failed with exit code 1
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Setup PHP
kudashevs commented 9 months ago

Same here. It did worked yesterday, but it doesn't work today (probably that might help).

image

image

config file: https://github.com/kudashevs/laravel-share-buttons/blob/master/.github/workflows/run-tests.yml

shivammathur commented 9 months ago

@terabytesoftw @szepeviktor @Wirone @mprins @ChristophWurst

It should work now. The builds had failed to upload to the releases correctly.

terabytesoftw commented 9 months ago

Thanks for the great work.