diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a57c4df --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: [push] + +jobs: + build-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: php-actions/composer@v6 + - name: PHPUnit Tests for php7.4 + uses: php-actions/phpunit@v3 + with: + configuration: tests/phpunit.xml + version: 5.7.25 + php_version: 7.4 + args: --coverage-text diff --git a/tests/phpunit.xml b/tests/phpunit.xml new file mode 100644 index 0000000..d6a1379 --- /dev/null +++ b/tests/phpunit.xml @@ -0,0 +1,9 @@ + + + + + . + + + +