test(horizon): bound supervisor process teardown #797
Workflow file for this run
This file contains hidden or 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: engine | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| RUN_BLOCKING_TESTS: true | |
| jobs: | |
| engine: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| container: | |
| image: phpswoole/swoole:6.2.0-php8.4 | |
| strategy: | |
| fail-fast: true | |
| name: Engine Integration Tests | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Log trigger context | |
| uses: ./.github/actions/log-trigger-context | |
| - name: Setup PHP extensions | |
| uses: ./.github/actions/setup-php | |
| - name: Cache Composer dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: /root/.composer/cache | |
| key: composer-8.4-${{ hashFiles('composer.lock') }} | |
| restore-keys: composer-8.4- | |
| - name: Install dependencies | |
| run: COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist -n -o | |
| - name: Start test servers | |
| run: | | |
| rm -f /tmp/test-servers-ready | |
| bin/test-servers.sh engine & | |
| while [ ! -f /tmp/test-servers-ready ]; do sleep 1; done | |
| - name: Execute integration tests | |
| env: | |
| TEST_SERVER_HOST: 127.0.0.1 | |
| run: vendor/bin/phpunit tests/Integration/Engine tests/Integration/HttpServer |