@@ -9,6 +9,7 @@ concurrency:
9
9
10
10
jobs :
11
11
composer :
12
+ name : Install PHP dependencies
12
13
runs-on : ubuntu-latest
13
14
container : joomlaprojects/docker-images:php8.4
14
15
steps :
27
28
composer install --no-progress --ignore-platform-reqs
28
29
29
30
npm :
31
+ name : Install JS/CSS dependencies and build assets
30
32
runs-on : ubuntu-latest
31
33
container : joomlaprojects/docker-images:php8.4
32
34
needs : [composer]
51
53
run : npm ci --unsafe-perm
52
54
53
55
code-style-php :
56
+ name : Check PHP code style
54
57
runs-on : ubuntu-latest
55
58
container : joomlaprojects/docker-images:php8.4
56
59
needs : [composer, npm]
68
71
./libraries/vendor/bin/phpcs --extensions=php -p --standard=ruleset.xml .
69
72
70
73
code-style-js :
74
+ name : Check Javascript code style
71
75
runs-on : ubuntu-latest
72
76
container : joomlaprojects/docker-images:php8.4
73
77
needs : [composer, npm]
88
92
npm run lint:testjs
89
93
90
94
code-style-css :
95
+ name : Check CSS code style
91
96
runs-on : ubuntu-latest
92
97
container : joomlaprojects/docker-images:php8.4
93
98
needs : [composer, npm]
@@ -106,6 +111,7 @@ jobs:
106
111
run : npm run lint:css
107
112
108
113
tests-unit :
114
+ name : Run Unit tests
109
115
runs-on : ubuntu-latest
110
116
container : joomlaprojects/docker-images:php${{ matrix.php_version }}
111
117
needs : [code-style-php, code-style-js, code-style-css]
@@ -122,6 +128,7 @@ jobs:
122
128
run : ./libraries/vendor/bin/phpunit --testsuite Unit
123
129
124
130
tests-integration :
131
+ name : Run integration tests
125
132
runs-on : ubuntu-latest
126
133
container : joomlaprojects/docker-images:php${{ matrix.php_version }}
127
134
needs : [code-style-php, code-style-js, code-style-css]
@@ -162,6 +169,7 @@ jobs:
162
169
POSTGRES_DB : test_joomla
163
170
164
171
tests-system-prepare :
172
+ name : Prepare system tests
165
173
runs-on : ubuntu-latest
166
174
container : joomlaprojects/docker-images:cypress8.4
167
175
env :
@@ -188,6 +196,7 @@ jobs:
188
196
npx cypress verify
189
197
190
198
tests-system :
199
+ name : Run system tests
191
200
runs-on : ubuntu-latest
192
201
container : joomlaprojects/docker-images:cypress${{ matrix.config.php_version }}
193
202
needs : [tests-system-prepare, tests-unit, tests-integration]
0 commit comments