Skip to content

Commit 93e555f

Browse files
committed
Add github actions
1 parent 7512ea0 commit 93e555f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
phpstan:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: php-actions/composer@v5
12+
13+
- name: PHPStan Static Analysis
14+
uses: php-actions/phpstan@v3
15+
with:
16+
path: src/
17+
18+
build-test:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
24+
- uses: php-actions/composer@v5
25+
26+
- name: PHPUnit Tests
27+
uses: php-actions/phpunit@v2
28+
with:
29+
bootstrap: vendor/autoload.php
30+
configuration: phpunit.xml

0 commit comments

Comments
 (0)