File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ test :
11+ name : " Build and test"
12+ runs-on : ubuntu-latest
13+ continue-on-error : false
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ php : ['8.3', '8.4', '8.5']
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v5
21+
22+ - name : Setup PHP
23+ uses : shivammathur/setup-php@v2
24+ with :
25+ php-version : ${{ matrix.php }}
26+ tools : phpize
27+
28+ - name : Set up
29+ run : phpize
30+
31+ - name : Configure
32+ run : ./configure --enable-custom_cast
33+
34+ - name : Make and install
35+ run : make -j"$(nproc)" install
36+
37+ - name : Run tests
38+ run : >-
39+ REPORT_EXIT_STATUS=1
40+ NO_INTERACTION=1
41+ TEST_PHP_EXECUTABLE=$(which php)
42+ php run-tests.php -n --show-diff tests
You can’t perform that action at this time.
0 commit comments