From 533dd08217d39a1e6c369921283a8746b7d9ef77 Mon Sep 17 00:00:00 2001 From: DeveloperMarius Date: Mon, 22 Mar 2021 22:58:53 +0100 Subject: [PATCH] Github Actions CI on push --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..30de95a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +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@v6 + with: + bootstrap: tests/bootstrap.php + php_version: 7.4 + php_extensions: json + configuration: phpunit.xml + args: --coverage-text \ No newline at end of file