Skip to content

Commit

Permalink
test: setup to use php 8.2 in test
Browse files Browse the repository at this point in the history
  • Loading branch information
yookoala committed Feb 1, 2024
1 parent c776aa3 commit c22166c
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,19 @@ jobs:
- '1.21'
env:
# For test to correctly locate the OS's php-fpm
TEST_PHPFPM_PATH: /usr/sbin/php-fpm7.4
TEST_PHPFPM_PATH: /usr/sbin/php-fpm
# For backward compatibility
GO111MODULE: on
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Tools for Tests
run: sudo apt-get install -y php-fpm python3 python3-venv
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
# extensions: imagick, swoole
- name: Setup Node
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -62,3 +67,15 @@ jobs:
go mod download -x || go mod download
- name: Run tests
run: go test -race ./...
- name: Environment Info
run: |
which php-fpm
php-fpm --version
php -v
php -m
node -v
npm -v
python3 -V
python3 -m pip list
go version
go env

0 comments on commit c22166c

Please sign in to comment.