File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,16 @@ inputs:
13
13
default : " 2"
14
14
description : " The version of composer to use."
15
15
16
- path :
16
+ module_path :
17
17
required : true
18
18
default : ' app/code'
19
19
description : " The directory (relative to the project root) in which the coding standard will be checked. Used when the event is not a pull request."
20
20
21
+ magento_root :
22
+ required : true
23
+ default : ' .'
24
+ description : " The directory (relative to the project root) in which the coding standard will be checked. Used when the event is not a pull request."
25
+
21
26
version :
22
27
required : false
23
28
description : " The version of the dependency checker to use. If not provided, will use the latest version."
43
48
44
49
- name : Run Dependency Checker
45
50
shell : bash
46
- run : composer global exec dependencies . ${{ inputs.path }}
51
+ run : composer global exec dependencies ${{ inputs.magento_root }} ${{ inputs.module_path }}
Original file line number Diff line number Diff line change 45
45
- uses : ./.github/dependency-checker
46
46
with :
47
47
php_version : ${{ matrix.php }}
48
- path : ' ./vendor/run-as-root/magento2-prometheus-exporter/'
48
+ module_path : ${{ steps.setup-magento.outputs.path }}/vendor/run-as-root/magento2-prometheus-exporter/
49
+ magento_root : ${{ steps.setup-magento.outputs.path }}
49
50
50
51
- run : php ./vendor/bin/phpunit ./vendor/run-as-root/magento2-prometheus-exporter/Test/Unit
51
52
working-directory : ${{ steps.setup-magento.outputs.path }}
You can’t perform that action at this time.
0 commit comments