Skip to content

Commit 91a00f6

Browse files
phpenv removed
1 parent 2ce7d0e commit 91a00f6

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
build:
1212
name: Build
1313
runs-on: ubuntu-latest
14+
services:
15+
redis:
16+
image: redis
17+
ports:
18+
- 6379:6379
1419
strategy:
1520
matrix:
1621
php-versions: ['5.6', '8.0']
@@ -26,20 +31,6 @@ jobs:
2631
ini-values: post_max_size=256M, max_execution_time=180
2732
coverage: xdebug
2833

29-
- name: set phpenv var
30-
run: PHPENV_ROOT=/usr/local/bin/phpenv
31-
32-
- name: install phpenv
33-
run: curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer | bash
34-
35-
- name: set phpenv
36-
run: |
37-
export PATH="$HOME/.phpenv/bin:$PATH"
38-
echo 'export PATH="$HOME/.phpenv/bin:$PATH"' >> ~/.bash_profile
39-
40-
- name: Create .ini file
41-
run: echo "extension = zip.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
42-
4334
- name: Install dependencies
4435
run: |
4536
composer install --prefer-dist

0 commit comments

Comments
 (0)