File tree Expand file tree Collapse file tree 2 files changed +33
-22
lines changed
Expand file tree Collapse file tree 2 files changed +33
-22
lines changed Original file line number Diff line number Diff line change 1+ name : PHPUnit tests
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ jobs :
8+ tests :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ fail-fast : true
12+ matrix :
13+ php : [7.2, 7.3, 7.4]
14+ stability : [prefer-lowest, prefer-stable]
15+
16+ name : Tests on PHP ${{ matrix.php }} - ${{ matrix.stability }}
17+
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@v2
21+
22+ - name : Setup PHP
23+ uses : shivammathur/setup-php@v2
24+ with :
25+ php-version : ${{ matrix.php }}
26+ tools : composer:v2
27+ coverage : none
28+
29+ - name : Install dependencies
30+ run : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
31+
32+ - name : Execute tests
33+ run : vendor/bin/phpunit --verbose
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments