Skip to content

Commit 7c0ae87

Browse files
committed
Fix PHP 8.1 tests
1 parent fa3a6fe commit 7c0ae87

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ jobs:
3535
phpize
3636
./configure --enable-redis-lzf --enable-redis-zstd --enable-redis-igbinary --enable-redis-msgpack --enable-redis-lz4 --with-liblz4
3737
sudo make install
38-
sudo mkdir -p /etc/php/${{ matrix.php }}/cli/conf.d
39-
echo 'extension = redis.so' | sudo tee -a /etc/php/${{ matrix.php }}/cli/conf.d/90-redis.ini
38+
echo 'extension = redis.so' | sudo tee -a $(php --ini | grep 'Scan for additional .ini files' | awk '{print $7}')/90-redis.ini
4039
- name: Start redis
4140
run: |
4241
redis-cli SHUTDOWN NOSAVE

0 commit comments

Comments
 (0)