mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
Update php.yml
This commit is contained in:
1 parent
1ccc344581
commit
a14cd5663a
1 file changed
+9
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user