mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
refactor(check-store): remove extraneous guard around running tests
This commit is contained in:
@@ -111,12 +111,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
run: |
|
run: vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist --testsuite Store_Unit_Tests
|
||||||
if find app/code -name "*Test.php" -print -quit | grep -q .; then
|
|
||||||
vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist --testsuite Store_Unit_Tests
|
|
||||||
else
|
|
||||||
echo "No unit tests found in app/code, skipping."
|
|
||||||
fi
|
|
||||||
|
|
||||||
coding-standard:
|
coding-standard:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|||||||
Reference in New Issue
Block a user