Skip to content

Commit ae92f7c

Browse files
committed
Added PHP8 test on Github
1 parent 3ec5d63 commit ae92f7c

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/tests.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,18 @@ jobs:
3737
extensions: mbstring, intl, pdo_sqlite, json
3838
ini-values: apc.enabled=1, apc.shm_size=32M, apc.ttl=7200, apc.enable_cli=1, apc.serializer=php
3939
- name: Run tests on PHP 7.4
40-
run: php -f ./bin/ci/run_tests.php
40+
run: php -f ./bin/ci/run_tests.php
41+
42+
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
43+
# Docs: https://getcomposer.org/doc/articles/scripts.md
44+
- name: Run tests on PHP 8.0
45+
run: php -f ./bin/ci/run_tests.php
46+
- name: Setup PHP 8.0
47+
uses: shivammathur/setup-php@v2
48+
with:
49+
php-version: '8.0'
50+
coverage: none
51+
extensions: mbstring, intl, pdo_sqlite, json
52+
ini-values: apc.enabled=1, apc.shm_size=32M, apc.ttl=7200, apc.enable_cli=1, apc.serializer=php
53+
- name: Run tests on PHP 8.0
54+
run: php -f ./bin/ci/run_tests.php

0 commit comments

Comments
 (0)