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,9 +111,24 @@ 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+
114128 -
115129 name : Run PHPUnit
116130 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'
117132 run : vendor/bin/phpunit --colors=always
118133
119134 notify-about-build-failure :
You can’t perform that action at this time.
0 commit comments