File tree 3 files changed +37
-14
lines changed
3 files changed +37
-14
lines changed Original file line number Diff line number Diff line change
1
+ .gitattributes export-ignore
2
+ .github export-ignore
3
+ .gitignore export-ignore
4
+ /test export-ignore
5
+ /phpcs.xml.dist export-ignore
6
+ /phpunit.xml.dist export-ignore
7
+
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ubuntu-latest
8
+
9
+ strategy :
10
+ matrix :
11
+ php-versions : ['7.3', '7.4']
12
+ name : PHP ${{ matrix.php-versions }}
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - uses : shivammathur/setup-php@v2
16
+ with :
17
+ php-version : ${{ matrix.php-versions }}
18
+ - name : Get composer cache directory
19
+ id : composer-cache
20
+ run : echo "::set-output name=dir::$(composer config cache-files-dir)"
21
+ - uses : actions/cache@v2
22
+ with :
23
+ path : ${{ steps.composer-cache.outputs.dir }}
24
+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
25
+ restore-keys : ${{ runner.os }}-composer-
26
+ - name : composer install
27
+ run : composer install --no-progress --prefer-dist --optimize-autoloader
28
+ - name : phpunit
29
+ run : php vendor/bin/phpunit
30
+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments