File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on : [pull_request, push]
3+ jobs :
4+ tests :
5+ runs-on : ubuntu-latest
6+ strategy :
7+ matrix :
8+ php : ['7.3', '7.4', '8.0']
9+ name : PHP ${{ matrix.php }} tests
10+ steps :
11+ - uses : actions/checkout@v2
12+
13+ - name : Get Composer Cache Directory
14+ id : composer-cache
15+ run : |
16+ echo "::set-output name=dir::$(composer config cache-files-dir)"
17+
18+ - uses : actions/cache@v2
19+ with :
20+ path : ${{ steps.composer-cache.outputs.dir }}
21+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
22+ restore-keys : |
23+ ${{ runner.os }}-composer-
24+
25+ - uses : shivammathur/setup-php@v2
26+ with :
27+ php-version : ${{ matrix.php }}
28+ coverage : none
29+ extensions : :xdebug
30+
31+ - run : composer install --prefer-source
32+
33+ - run : vendor/bin/phpunit
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "name" : " queue-interop/amqp-interop" ,
3+ "description" : " AMQP interop" ,
34 "type" : " library" ,
45 "license" : " MIT" ,
56 "minimum-stability" : " stable" ,
67 "require" : {
7- "php" : " ^7.1.3 " ,
8- "queue-interop/queue-interop" : " ^0.7|^0.8"
8+ "php" : " ^7.3 | ^8.0 " ,
9+ "queue-interop/queue-interop" : " ^0.7|^0.8|^0.9 "
910 },
1011 "require-dev" : {
11- "phpunit/phpunit" : " ~5.4 .0"
12+ "phpunit/phpunit" : " ~9 .0"
1213 },
1314 "autoload" : {
1415 "psr-4" : {
You can’t perform that action at this time.
0 commit comments