From 7c8029101c00c6e193ba627420eb0656dccd717c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20Schl=C3=A4pfer?= Date: Tue, 10 Oct 2023 18:05:16 +0200 Subject: [PATCH] Run phpunit from FOSSBilling --- .github/workflows/php-ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php-ci.yml b/.github/workflows/php-ci.yml index 257e5d7..5b8f0b6 100644 --- a/.github/workflows/php-ci.yml +++ b/.github/workflows/php-ci.yml @@ -196,6 +196,14 @@ jobs: echo > FOSSBilling/src/data/log/application.log echo > FOSSBilling/src/data/log/php_error.log - - name: list files - run: ls -alh ./ + - name: Copy tests to FOSSBilling directory + run: cp -r tests/Serviceproxmox FOSSBilling/tests/modules/ + - name: Run PHPUnit Tests + uses: php-actions/phpunit@v3 + with: + version: 9 + php_version: ${{ matrix.php }} + configuration: FOSSBilling/phpunit.xml.dist + env: + APP_ENV: test