File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,24 +111,10 @@ jobs:
111111 working-directory : " src/Sylius/${{ matrix.package }}"
112112 run : vendor/bin/phpspec run --ansi --no-interaction -f dot
113113
114- -
115- name : Check the existance of phpunit.xml.dist
116- id : phpunit_xml_dist_existance_check
117- uses : andstor/file-existence-action@v1
118- with :
119- files : " src/Sylius/${{ matrix.package }}/phpunit.xml.dist"
120-
121- -
122- name : Check the existance of phpunit.xml
123- id : phpunit_xml_existance_check
124- uses : andstor/file-existence-action@v1
125- with :
126- files : " src/Sylius/${{ matrix.package }}/phpunit.xml"
127-
128114 -
129115 name : Run PHPUnit
130116 working-directory : " src/Sylius/${{ matrix.package }}"
131- if : steps.phpunit_xml_dist_existance_check.outputs.files_exists == 'true ' || steps.phpunit_xml_existance_check.outputs.files_exists == 'true '
117+ if : hashFiles('src/Sylius/${{ matrix.package }}/phpunit.xml.dist') != ' ' || hashFiles('src/Sylius/${{ matrix.package }}/phpunit.xml') != ' '
132118 run : vendor/bin/phpunit --colors=always
133119
134120 notify-about-build-failure :
You can’t perform that action at this time.
0 commit comments