Skip to content

Commit fb27947

Browse files
committed
Execute PHPUnit tests using GitHub Actions
1 parent 8a630dd commit fb27947

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: PHPUnit
2+
3+
on: push
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/cache@v3
11+
with:
12+
path: vendor
13+
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
14+
restore-keys: |
15+
${{ runner.os }}-php-
16+
- run: composer install --prefer-dist --no-progress
17+
- run: vendor/bin/phpunit

0 commit comments

Comments
 (0)