File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : tests
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+
7
+ jobs :
8
+ run :
9
+ runs-on : ${{ matrix.operating-system }}
10
+ strategy :
11
+ matrix :
12
+ operating-system : [ubuntu-latest]
13
+ php-versions : ['7.4']
14
+ name : PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Setup PHP
20
+ uses : shivammathur/setup-php@v2
21
+ with :
22
+ php-version : ${{ matrix.php-versions }}
23
+ coverage : xdebug
24
+
25
+ - name : Validate composer files
26
+ run : composer validate
27
+
28
+ - name : Install dependencies
29
+ if : steps.composer-cache.outputs.cache-hit != 'true'
30
+ run : composer install --prefer-dist --no-progress --no-suggest
31
+
32
+ - name : Run test suite
33
+ run : composer test
34
+
35
+ - name : Publish Analysis
36
+ if : matrix.php-versions == '7.4'
37
+ uses : codecov/codecov-action@v1.0.13
38
+ with :
39
+ name : Code Analysis
You can’t perform that action at this time.
0 commit comments