-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (37 loc) · 1.03 KB
/
CI-Experimental.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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'] }}