升级版本依赖 #118
Workflow file for this run
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: ci | |
on: [push, pull_request] | |
jobs: | |
ci-only-curl: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [5.5, 5.6, 7.0, 7.1] | |
env: | |
PHP_DOCKER_VERSION: ${{ matrix.php }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: prepare | |
run: | | |
./.github/prepare-test.sh php | |
- name: test | |
run: docker exec php composer test | |
ci-curl-swoole: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
swoole: | |
[ | |
5.0-php8.0, | |
5.0-php8.1, | |
5.0-php8.2, | |
4.8-php7.2, | |
4.8-php7.3, | |
4.8-php7.4, | |
4.8-php8.0, | |
4.8-php8.1, | |
] | |
env: | |
SWOOLE_DOCKER_VERSION: ${{ matrix.swoole }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: prepare | |
run: | | |
./.github/prepare-test.sh swoole | |
- name: test | |
run: docker exec swoole composer test |