57
57
name : Check PHP code style
58
58
runs-on : ubuntu-latest
59
59
container : joomlaprojects/docker-images:php8.4
60
- needs : [composer, npm ]
60
+ needs : [composer]
61
61
steps :
62
62
- uses : actions/checkout@v4
63
63
- uses : actions/cache/restore@v4
71
71
./libraries/vendor/bin/php-cs-fixer fix -vvv --dry-run --diff
72
72
./libraries/vendor/bin/phpcs --extensions=php -p --standard=ruleset.xml .
73
73
74
- code-style-js :
75
- name : Check Javascript code style
74
+ code-style-js-css :
75
+ name : Check Javascript & CSS code style
76
76
runs-on : ubuntu-latest
77
77
container : joomlaprojects/docker-images:php8.4
78
78
needs : [composer, npm]
91
91
run : |
92
92
npm run lint:js
93
93
npm run lint:testjs
94
-
95
- code-style-css :
96
- name : Check CSS code style
97
- runs-on : ubuntu-latest
98
- container : joomlaprojects/docker-images:php8.4
99
- needs : [composer, npm]
100
- steps :
101
- - uses : actions/setup-node@v4
102
- with :
103
- node-version : latest
104
- - uses : actions/checkout@v4
105
- - uses : actions/cache/restore@v4
106
- with :
107
- path : |
108
- node_modules
109
- media
110
- key : ${{ runner.os }}-node-${{ hashFiles('package-lock.json', 'build/media_source/**', 'administrator/components/com_media/resources/**') }}
111
94
- name : Check CSS code style
112
95
run : npm run lint:css
113
96
@@ -130,7 +113,7 @@ jobs:
130
113
name : Run Unit tests
131
114
runs-on : ubuntu-latest
132
115
container : joomlaprojects/docker-images:php${{ matrix.php_version }}
133
- needs : [code-style-php, code-style-js, code-style-css ]
116
+ needs : [code-style-php]
134
117
strategy :
135
118
matrix :
136
119
php_version : ['8.1', '8.2', '8.3', '8.4']
@@ -147,7 +130,7 @@ jobs:
147
130
name : Run integration tests
148
131
runs-on : ubuntu-latest
149
132
container : joomlaprojects/docker-images:php${{ matrix.php_version }}
150
- needs : [code-style-php, code-style-js, code-style-css ]
133
+ needs : [code-style-php]
151
134
strategy :
152
135
matrix :
153
136
php_version : ['8.1', '8.2', '8.3', '8.4']
@@ -189,6 +172,7 @@ jobs:
189
172
name : Prepare system tests
190
173
runs-on : ubuntu-latest
191
174
container : joomlaprojects/docker-images:cypress8.4
175
+ needs : [composer, npm]
192
176
env :
193
177
CYPRESS_VERIFY_TIMEOUT : 100000
194
178
steps :
@@ -216,7 +200,7 @@ jobs:
216
200
name : Run system tests
217
201
runs-on : ubuntu-latest
218
202
container : joomlaprojects/docker-images:cypress${{ matrix.config.php_version }}
219
- needs : [tests-system-prepare, tests-unit, tests-integration ]
203
+ needs : [tests-system-prepare]
220
204
strategy :
221
205
matrix :
222
206
config :
0 commit comments