Skip to content

Commit 693ecce

Browse files
authored
Merge pull request #16 from daveearley/daveearley-patch-1
Create php.yml
2 parents 38ec5fc + b558578 commit 693ecce

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/php.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: PHP Composer
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Validate composer.json and composer.lock
18+
run: composer validate
19+
20+
- name: Install dependencies
21+
run: composer install --prefer-dist --no-progress --no-suggest
22+
23+
- name: Run test suite
24+
run: ./vendor/bin/phpunit

0 commit comments

Comments
 (0)