File tree Expand file tree Collapse file tree 2 files changed +40
-33
lines changed Expand file tree Collapse file tree 2 files changed +40
-33
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+ tests :
9+
10+ runs-on : ubuntu-latest
11+ strategy :
12+ fail-fast : true
13+ matrix :
14+ php : [7.2, 7.3, 7.4]
15+ stability : [prefer-lowest, prefer-stable]
16+
17+ name : P${{ matrix.php }} - S${{ matrix.stability }}
18+
19+ steps :
20+ - name : Checkout code
21+ uses : actions/checkout@v2
22+
23+ - name : Cache dependencies
24+ uses : actions/cache@v1
25+ with :
26+ path : ~/.composer/cache/files
27+ key : dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
28+
29+ - name : Setup PHP
30+ uses : shivammathur/setup-php@v2
31+ with :
32+ php-version : ${{ matrix.php }}
33+ extensions : pdo, sqlite, pdo_sqlite
34+ coverage : none
35+
36+ - name : Install dependencies
37+ run : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
38+
39+ - name : Execute tests
40+ run : vendor/bin/phpunit --verbose
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments