Skip to content

Commit 7e293ad

Browse files
authored
Create phpunit.yml
1 parent bb6d520 commit 7e293ad

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/phpunit.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: PHPUnit
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Setup PHP
14+
uses: shivammathur/setup-php@v2
15+
with:
16+
php-version: '7.2'
17+
18+
- name: Validate composer.json and composer.lock
19+
run: composer validate
20+
21+
- name: Install dependencies
22+
run: composer install --prefer-dist --no-progress --no-suggest
23+
24+
- name: Run tests
25+
run: composer run-script test

0 commit comments

Comments
 (0)