We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbd6da7 commit afe5757Copy full SHA for afe5757
.github/workflows/ci.yml
@@ -0,0 +1,38 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - *
7
+ pull_request:
8
9
10
11
+jobs:
12
+ build:
13
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - uses: actions/checkout@v2
18
19
+ - name: Validate composer.json and composer.lock
20
+ run: composer validate --strict
21
22
+ - name: Cache Composer packages
23
+ id: composer-cache
24
+ uses: actions/cache@v2
25
+ with:
26
+ path: vendor
27
+ key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
28
+ restore-keys: |
29
+ ${{ runner.os }}-php-
30
31
+ - name: Install dependencies
32
+ run: composer install --prefer-dist --no-progress
33
34
+ - name: Run test suite
35
+ run: composer run-script tests
36
37
+ - name: Analyze code
38
+ run: composer run-script analyze
0 commit comments