Create php.yml

This commit is contained in:
Milos Stojanovic
2019-12-25 14:56:33 +01:00
committed by GitHub
parent cae7e04ac5
commit ab715ae483

23
.github/workflows/php.yml vendored Normal file
View File

@@ -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