File tree Expand file tree Collapse file tree 2 files changed +46
-1
lines changed
Expand file tree Collapse file tree 2 files changed +46
-1
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+ if : github.event_name != 'schedule' || github.repository == 'tapperphp/tapper'
10+
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ fail-fast : true
14+ matrix :
15+ os : [ubuntu-latest, macos-latest]
16+ php : ["8.2", "8.3", "8.4"]
17+ dependency_version : [prefer-lowest, prefer-stable]
18+
19+ name : PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency_version }}
20+
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+
25+ - name : Setup PHP
26+ uses : shivammathur/setup-php@v2
27+ with :
28+ php-version : ${{ matrix.php }}
29+ tools : composer:v2
30+ coverage : none
31+
32+ - name : Setup Matchers
33+ run : |
34+ echo "::add-matcher::${{ runner.tool_cache }}/php.json"
35+ echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
36+
37+ - name : Install PHP dependencies
38+ shell : bash
39+ run : composer update --${{ matrix.dependency_version }} --no-interaction --no-progress --ansi
40+
41+ - name : Unit Tests
42+ run : composer test:unit
Original file line number Diff line number Diff line change 3535 },
3636 "bin" : [
3737 " bin/tapper"
38- ]
38+ ],
39+ "scripts" : {
40+ "test:unit" : " pest"
41+ }
3942}
You can’t perform that action at this time.
0 commit comments