Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yookoala committed Feb 1, 2024
1 parent b7e1e45 commit 6121fde
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ jobs:
- '1.21'
env:
# For test to correctly locate the OS's php-fpm
TEST_PHPFPM_PATH: /usr/sbin/php-fpm-test
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 Node
uses: actions/setup-node@v4
with:
node-version: 20
- 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:
node-version: 20
- name: Setup Node modules
run: |
cd ./example/nodejs
Expand All @@ -67,3 +67,14 @@ jobs:
go mod download -x || go mod download
- name: Run tests
run: go test -race ./...
- name: Environment Info
if: failure()
run: |
php -v
php -m
node -v
npm -v
python3 -V
python3 -m pip list
go version
go env

0 comments on commit 6121fde

Please sign in to comment.