From ab715ae48344ff7b7be13048c54d0d3c0e4a3cd0 Mon Sep 17 00:00:00 2001 From: Milos Stojanovic Date: Wed, 25 Dec 2019 14:56:33 +0100 Subject: [PATCH] Create php.yml --- .github/workflows/php.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/php.yml diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml new file mode 100644 index 0000000..f1b230f --- /dev/null +++ b/.github/workflows/php.yml @@ -0,0 +1,23 @@ +name: PHP + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + + - name: Validate composer.json and composer.lock + run: composer validate + + - name: Install dependencies + run: composer install --no-interaction + + - name: Copy configuration.php + run: cp configuration_sample.php configuration.php + + - name: Execute tests + run: vendor/bin/phpunit