From ee0ea99680a559461bfc09175548001a68ab54e1 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 29 Jun 2021 13:08:50 +0300 Subject: [PATCH 1/2] Create phpunit.yml --- .github/workflows/phpunit.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/phpunit.yml diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml new file mode 100644 index 0000000..5e8bf11 --- /dev/null +++ b/.github/workflows/phpunit.yml @@ -0,0 +1,19 @@ +name: PHPUnit + +on: [push] + +jobs: + build-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - uses: php-actions/composer@v5 + + - name: PHPUnit Tests + uses: php-actions/phpunit@v2 + with: + bootstrap: vendor/autoload.php + configuration: phpunit.xml + args: --coverage-text From 9a29937b1b3017c80eeb6cdcf55377c0aa1078a2 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 29 Jun 2021 13:14:59 +0300 Subject: [PATCH 2/2] added xdebug and mbstring --- .github/workflows/phpunit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 5e8bf11..5ca3d58 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -14,6 +14,7 @@ jobs: - name: PHPUnit Tests uses: php-actions/phpunit@v2 with: + php_extensions: xdebug mbstring bootstrap: vendor/autoload.php configuration: phpunit.xml args: --coverage-text