chore: Move GH Workflows to Ubuntu 24.04 #1654
This file contains 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: CI Experimental | |
permissions: read-all | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
tests: | |
name: Tests on PHP 8.4 nightly | |
runs-on: ubuntu-24.04 | |
services: | |
redis: | |
image: redis | |
ports: | |
- 6379/tcp | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@2.31.1 | |
with: | |
php-version: '8.4' | |
extensions: mbstring, redis, apcu | |
ini-values: apc.enable_cli=1, zend.assertions=1 | |
coverage: none | |
tools: composer:v2 | |
- name: Remove Composer lockfile | |
run: rm composer.lock | |
- name: Install dependencies | |
run: composer update --no-interaction --prefer-dist --ignore-platform-reqs | |
- name: Configure PHPUnit matchers | |
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | |
- name: Run tests | |
continue-on-error: true | |
run: ./vendor/bin/phpunit --verbose --colors | |
env: | |
REDIS_PORT: ${{ job.services.redis.ports['6379'] }} |