Skip to content

Commit 678c243

Browse files
committed
ci(workflow): 更新 PHPUnit 工作流程以支持 PHP 8.4
- 添加 PHP 8.4 到测试矩阵中 - 在 Redis 安装步骤后添加 numpy 依赖项 - 确保工作流程兼容最新的 PHP 版本
1 parent 97ecf32 commit 678c243

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/phpunit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
php: [ '8.1', '8.2', '8.3' ]
13+
php: [ '8.1', '8.2', '8.3', '8.4' ]
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: Install deps
@@ -47,6 +47,7 @@ jobs:
4747
run: |
4848
sudo apt install -y redis-server
4949
sudo service redis-server start
50+
sudo pip3 install numpy
5051
composer install
5152
composer test
5253

0 commit comments

Comments
 (0)