Skip to content

Commit eeadc31

Browse files
committed
Run tests on PR
1 parent ffe43bb commit eeadc31

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
types:
7+
- opened
8+
- synchronize
9+
10+
jobs:
11+
build-test:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Cache Composer dependencies
17+
uses: actions/cache@v3
18+
with:
19+
path: /tmp/composer-cache
20+
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
21+
- uses: php-actions/composer@v6
22+
- name: PHPUnit tests
23+
run: ./vendor/bin/phpunit
24+

0 commit comments

Comments
 (0)