Initial commit of PHP template

Resolves #15
This commit is contained in:
Christer Edvartsen
2019-09-01 13:33:11 +02:00
parent 77cce53687
commit c2600f2e02
2 changed files with 26 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
name: PHP Composer CI
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 --prefer-dist --no-progress --no-suggest
- name: Run test suite (requires test script to be defined in composer.json)
run: composer run-script test
+6
View File
@@ -0,0 +1,6 @@
{
"name": "PHP",
"description": "Build and test a PHP application using Composer",
"iconName": "php",
"categories": ["PHP", "Composer"]
}