Update php.yml

This commit is contained in:
Samuel Apraku authored and GitHub committed 2020-10-28 18:55:54 +01:00
1 parent 1ccc344581
commit a14cd5663a
1 file changed
+9 -5
+9 -5
View File
@@ -31,11 +31,8 @@ jobs:
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
working-directory: ./src
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
- name: Run test suite
- name: Configure environment for Tests
run: |
cp ./src/bb-config-sample.php ./src/bb-config.php
mkdir ./src/bb-data/cache
@@ -43,4 +40,11 @@ jobs:
echo > ./src/bb-data/log/license.log
echo > ./src/bb-data/log/application.log
echo > ./src/bb-data/log/php_error.log
- name: Run test suite for bb-modules
run: |
php ./src/bb-vendor/bin/phpunit ./tests/bb-modules/
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md