Wrap the closure return type in withFreshQueryLog()
#24745
Workflow file for this run
This file contains hidden or 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: queues | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - '*.x' | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| name: Sync Driver | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Setup PHP project | |
| uses: ./.github/actions/setup-php-project | |
| with: | |
| extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_mysql, :php-psr | |
| - name: Execute tests | |
| run: vendor/bin/phpunit tests/Integration/Queue | |
| env: | |
| QUEUE_CONNECTION: sync | |
| database: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| name: Database Driver | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Setup PHP project | |
| uses: ./.github/actions/setup-php-project | |
| with: | |
| extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_mysql, :php-psr | |
| - name: Setup SQLite Database | |
| run: php vendor/bin/testbench package:create-sqlite-db | |
| - name: Execute tests | |
| run: vendor/bin/phpunit tests/Integration/Queue | |
| env: | |
| DB_CONNECTION: sqlite | |
| QUEUE_CONNECTION: database | |
| beanstalkd: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| include: | |
| - php: 8.3 | |
| pheanstalk: 7 | |
| - php: 8.4 | |
| pheanstalk: 8 | |
| name: Beanstalkd Driver (pda/pheanstalk:^${{ matrix.pheanstalk }}) | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Download & Extract beanstalkd | |
| run: curl -L https://github.com/beanstalkd/beanstalkd/archive/refs/tags/v1.13.tar.gz | tar xz | |
| - name: Make beanstalkd | |
| run: make | |
| working-directory: beanstalkd-1.13 | |
| - name: Setup PHP project | |
| uses: ./.github/actions/setup-php-project | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_mysql, :php-psr | |
| composer-command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --with="pda/pheanstalk:^${{ matrix.pheanstalk }}" | |
| - name: Daemonize beanstalkd | |
| run: ./beanstalkd-1.13/beanstalkd & | |
| - name: Execute tests | |
| run: vendor/bin/phpunit tests/Integration/Queue | |
| env: | |
| QUEUE_CONNECTION: beanstalkd |