File tree 2 files changed +33
-14
lines changed
2 files changed +33
-14
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+ on : push
3
+
4
+ jobs :
5
+ test :
6
+ runs-on : ubuntu-18.04
7
+ strategy :
8
+ matrix :
9
+ prefer : ["prefer-stable", "prefer-lowest"]
10
+ steps :
11
+ - name : checkout
12
+ uses : actions/checkout@v2
13
+
14
+ - name : Setup PHP
15
+ uses : shivammathur/setup-php@v2
16
+ with :
17
+ php-version : ' 7.2'
18
+ tools : composer:v2
19
+
20
+ - name : Get Composer Cache Directory
21
+ id : composer-cache
22
+ run : |
23
+ echo "::set-output name=dir::$(composer config cache-files-dir)"
24
+ - uses : actions/cache@v2
25
+ with :
26
+ path : ${{ steps.composer-cache.outputs.dir }}
27
+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}-${{ matrix.prefer }}-
28
+ restore-keys : ${{ runner.os }}-composer-${{ matrix.prefer }}-
29
+ - name : Composer Install
30
+ run : composer update --${{ matrix.prefer }} --no-interaction --no-progress --no-ansi
31
+
32
+ - name : Run tests
33
+ run : make check
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments