File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ Currently, it identifies the following:
12
12
- Psalm checks based on the presence of ` psalm.xml.dist ` or ` psalm.xml ` files.
13
13
- phpbench benchmarks based on the presence of a ` phpbench.json ` .
14
14
- Markdown documentation based on the presence of a ` mkdocs.yml ` and/or markdown files in the ` doc/book/ ` or ` doc/books/ ` trees.
15
+ - Codeception checks based on the presence of ` codeception.yml.dist ` or ` codeception.yml ` files.
15
16
16
17
Further, when triggered by a ` pull_request ` event, it determines what checks are necessary based on which files were affected.
17
18
Original file line number Diff line number Diff line change @@ -190,6 +190,17 @@ function checks (config) {
190
190
return createQaJobs ( 'markdownlint docs/book/**/*.md' , config ) ;
191
191
}
192
192
) ,
193
+ new Check (
194
+ config . code_checks ,
195
+ [ fileTest ( 'codeception.yml.dist' ) , fileTest ( 'codeception.yml' ) ] ,
196
+ /**
197
+ * @param {Config } config
198
+ * @return {Array }
199
+ */
200
+ function ( config ) {
201
+ return createQaJobs ( 'vendor/bin/codecept run' , config ) ;
202
+ }
203
+ )
193
204
] ;
194
205
}
195
206
You can’t perform that action at this time.
0 commit comments