feat(async): support async invocation #207
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
PHPUnit: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: [ '7.4','8.0','8.1','8.2'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
tools: composer:v2 | |
extensions: pinpoint_php-https://github.com/pinpoint-apm/pinpoint-c-agent@dev | |
- run: | | |
composer install --prefer-dist | |
vendor/bin/phpunit --configuration PHPUnit.xml --testsuit pinpoint --testdox | |
PHPUnit-AOP: | |
strategy: | |
matrix: | |
php-versions: [ '7.4','8.0','8.1','8.2','8.3'] | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
# Docker Hub image | |
image: redis | |
ports: | |
- 6379:6379 | |
memcached: | |
image: memcached:alpine3.20 | |
ports: | |
- "11211:11211" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
tools: composer:v2 | |
extensions: pinpoint_php-https://github.com/pinpoint-apm/pinpoint-c-agent@dev, mongodb-mongodb/mongo-php-driver@1.19.3 | |
- run: | | |
composer install --prefer-dist | |
vendor/bin/phpunit --configuration PHPUnit_aop_libraries.xml --testsuit pinpoint --testdox |