diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index baa48c298..111dd9708 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -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 +