-
Notifications
You must be signed in to change notification settings - Fork 56
67 lines (52 loc) · 1.2 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: ci
on: [push, pull_request]
jobs:
ci-only-curl:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
php: ["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
- name: Print logs
if: failure()
run: php .github/print-logs.php
ci-curl-swoole:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
swoole:
[
5.1-php8.0,
5.1-php8.1,
5.1-php8.2,
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
- name: Print logs
if: failure()
run: php .github/print-logs.php