We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ad2eea commit 48f88cbCopy full SHA for 48f88cb
.github/workflows/ci.yml
@@ -0,0 +1,36 @@
1
+name: CI
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
+ runs-on: [ubuntu-latest]
8
9
+ steps:
10
+ - uses: actions/checkout@v1
11
12
+ - name: Cache PHP dependencies
13
+ uses: actions/cache@v1
14
+ with:
15
+ path: vendor
16
+ key: ${{ runner.OS }}-build-${{ hashFiles('**/composer.lock') }}
17
18
+ - uses: php-actions/composer@v1
19
20
+ - name: Upload build for test runner
21
+ uses: actions/upload-artifact@v1
22
23
+ name: build-artifact
24
+ path: ./
25
26
+ test:
27
28
+ needs: [build]
29
30
31
+ - uses: actions/download-artifact@v1
32
33
34
35
36
+ - uses: php-actions/phpunit@v1
0 commit comments