@@ -30,38 +30,22 @@ jobs:
30
30
fail-fast : false
31
31
matrix :
32
32
include :
33
- - name : test-unit-asyncify (1/16 )
33
+ - name : test-unit-asyncify (1/8 )
34
34
target : test
35
- - name : test-unit-asyncify (2/16)
36
- target : test-php
37
- - name : test-unit-asyncify (3/16)
38
- target : test-php-networking
39
- - name : test-unit-asyncify (4/16)
40
- target : test-php-request-handler-files
41
- - name : test-unit-asyncify (5/16)
42
- target : test-php-request-handler-requests
43
- - name : test-unit-asyncify (6/16)
44
- target : test-php-asyncify-file-get-contents-http
45
- - name : test-unit-asyncify (7/16)
46
- target : test-php-asyncify-file-get-contents-https
47
- - name : test-unit-asyncify (8/16)
48
- target : test-php-asyncify-fopen-http
49
- - name : test-unit-asyncify (9/16)
50
- target : test-php-asyncify-fopen-https
51
- - name : test-unit-asyncify (10/16)
52
- target : test-php-asyncify-fsockopen-http
53
- - name : test-unit-asyncify (11/16)
54
- target : test-php-asyncify-fsockopen-https
55
- - name : test-unit-asyncify (12/16)
56
- target : test-php-asyncify-gethostbyname-http
57
- - name : test-unit-asyncify (13/16)
58
- target : test-php-asyncify-gethostbyname-https
59
- - name : test-unit-asyncify (14/16)
60
- target : test-php-asyncify-mysqli-http
61
- - name : test-unit-asyncify (15/16)
62
- target : test-php-asyncify-mysqli-https
63
- - name : test-unit-asyncify (16/16)
64
- target : test-php-asyncify-sqlite3
35
+ - name : test-unit-asyncify (2/8)
36
+ target : test-asyncify
37
+ - name : test-unit-asyncify (3/8)
38
+ target : test-php-file-get-contents-asyncify
39
+ - name : test-unit-asyncify (4/8)
40
+ target : test-php-fopen-asyncify
41
+ - name : test-unit-asyncify (5/8)
42
+ target : test-php-fsockopen-asyncify
43
+ - name : test-unit-asyncify (6/8)
44
+ target : test-php-gethostbyname-asyncify
45
+ - name : test-unit-asyncify (7/8)
46
+ target : test-php-mysqli-asyncify
47
+ - name : test-unit-asyncify (8/8)
48
+ target : test-php-sqlite3-asyncify
65
49
name : ${{ matrix.name }}
66
50
services :
67
51
mysql :
97
81
fail-fast : false
98
82
matrix :
99
83
include :
100
- - name : test-unit-jspi (1/1)
101
- target : test-php-dynamic-loading-jspi
84
+ - name : test-unit-jspi (1/7)
85
+ target : test-jspi
86
+ - name : test-unit-jspi (2/7)
87
+ target : test-php-file-get-contents-jspi
88
+ - name : test-unit-jspi (3/7)
89
+ target : test-php-fopen-jspi
90
+ - name : test-unit-jspi (4/7)
91
+ target : test-php-fsockopen-jspi
92
+ - name : test-unit-jspi (5/7)
93
+ target : test-php-gethostbyname-jspi
94
+ - name : test-unit-jspi (6/7)
95
+ target : test-php-mysqli-jspi
96
+ - name : test-unit-jspi (7/7)
97
+ target : test-php-sqlite3-jspi
102
98
name : ${{ matrix.name }}
99
+ services :
100
+ mysql :
101
+ image : mysql:5.7
102
+ env :
103
+ MYSQL_DATABASE : test_db
104
+ MYSQL_USER : user
105
+ MYSQL_PASSWORD : password
106
+ MYSQL_ROOT_PASSWORD : rootpassword
107
+ ports :
108
+ - 3306:3306
109
+ options : >-
110
+ --health-cmd="mysqladmin ping --silent"
111
+ --health-interval=10s
112
+ --health-timeout=5s
113
+ --health-retries=3
103
114
steps :
104
115
- uses : actions/checkout@v4
105
116
with :
@@ -108,21 +119,10 @@ jobs:
108
119
with :
109
120
node-version : 23
110
121
- run : node --expose-gc node_modules/nx/bin/nx affected --target=${{ matrix.target }}
111
- # Most of these tests pass locally but the process is crashing
112
- # on the CI runner.
113
- #
114
- # test-unit-jspi:
115
- # runs-on: ubuntu-latest
116
- # needs: [lint-and-typecheck]
117
- # steps:
118
- # - uses: actions/checkout@v4
119
- # with:
120
- # submodules: true
121
- # - uses: ./.github/actions/prepare-playground
122
- # with:
123
- # # @TODO: Switch to the production version once it's released
124
- # node-version: 23.0.0-nightly2024100909d10b50dc
125
- # - run: node --experimental-wasm-jspi --experimental-wasm-stack-switching --expose-gc node_modules/nx/bin/nx affected --target=test --configuration=ci
122
+ env :
123
+ MYSQL_DATABASE : test_db
124
+ MYSQL_USER : user
125
+ MYSQL_PASSWORD : password
126
126
test-e2e :
127
127
runs-on : ubuntu-latest
128
128
needs : [lint-and-typecheck]
0 commit comments