Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup to use php 8.2 in test #84

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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