We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents df62565 + ac62c1b commit 96e1102Copy full SHA for 96e1102
.github/workflows/php-package-ci.yml
@@ -0,0 +1,24 @@
1
+name: Package CI
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ checks:
8
+ name: Checks
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ php: [ 7.0, 7.1 ]
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - uses: shivammathur/setup-php@v2
16
+ with:
17
+ php-version: ${{ matrix.php }}
18
19
+ - run: make composer
20
21
+ - if: matrix.php == '7.1'
22
+ run: make phpstan
23
24
+ - run: make run-tests
.travis.yml
Makefile
@@ -0,0 +1,9 @@
+composer:
+ composer validate
+ composer update --no-interaction --prefer-dist
+phpstan:
+ vendor/bin/phpstan analyse -l 5 -c phpstan.neon src/
+run-tests:
+ vendor/bin/tester tests
0 commit comments