add pcntl_signal_dispatch after job finish for php extension #198
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, workflow_dispatch, pull_request] | |
env: | |
COMPOSE_PROJECT_NAME: yii2-queue | |
COMPOSE_FILE: tests/docker-compose.yml | |
AWS_SQS_ENABLED: ${{ secrets.AWS_SQS_ENABLED }} | |
AWS_SQS_URL: ${{ secrets.AWS_SQS_URL }} | |
AWS_KEY: ${{ secrets.AWS_KEY }} | |
AWS_SECRET: ${{ secrets.AWS_SECRET }} | |
AWS_REGION: ${{ secrets.AWS_REGION }} | |
AWS_SQS_FIFO_ENABLED: ${{ secrets.AWS_SQS_FIFO_ENABLED }} | |
AWS_SQS_FIFO_URL: ${{ secrets.AWS_SQS_FIFO_URL }} | |
AWS_SQS_FIFO_MESSAGE_GROUP_ID: ${{ secrets.AWS_SQS_FIFO_MESSAGE_GROUP_ID }} | |
jobs: | |
phpunit: | |
name: PHP ${{ matrix.php }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [ 56, 70, 71, 72, 73, 74 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: PHP Unit tests for PHP ${{ matrix.php }} | |
run: make test${{ matrix.php }} |