From ea898d7a7b85aeb677f81f13784232c99b61808a Mon Sep 17 00:00:00 2001 From: Alexander Kiryukhin Date: Mon, 1 Jun 2020 03:50:39 +0300 Subject: Code style fixes & Github Actions (#65) * Code style fixes Up phpunit to v8 New CI * Remove travis * Fix CI badge * Added php-cs-fixer action --- .github/workflows/tests.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/tests.yml (limited to '.github/workflows/tests.yml') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..557134d --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,19 @@ +name: Tests + +on: [push] + +jobs: + build-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: php-actions/composer@v1 + - name: PHPUnit + uses: php-actions/phpunit@v1 + with: + config: ./phpunit.xml.dist + - name: PHP CS Fixer + uses: StephaneBour/actions-php-cs-fixer@1.0 + with: + dir: './src' -- cgit v1.2.3