File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Run tests
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : [master]
8
+
9
+ permissions :
10
+ contents : read
11
+
12
+ jobs :
13
+ tests :
14
+ name : Execute tests on ${{ matrix.operating-system }} with PHP ${{ matrix.php-versions }}
15
+ runs-on : ${{ matrix.operating-system }}
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ operating-system :
20
+ - " ubuntu-latest"
21
+ - " macos-latest"
22
+ php-versions :
23
+ - " 7.0"
24
+ - " 7.1"
25
+ - " 7.2"
26
+ - " 7.3"
27
+ - " 7.4"
28
+ - " 8.0"
29
+ - " 8.1"
30
+ - " nightly"
31
+ steps :
32
+ - name : Setup PHP
33
+ uses : shivammathur/setup-php@v2
34
+ with :
35
+ php-version : ${{ matrix.php-versions }}
36
+ coverage : none
37
+ tools : phpize
38
+ env :
39
+ update : true
40
+
41
+ - uses : actions/checkout@v3
42
+
43
+ - name : Setup extension
44
+ run : |
45
+ phpize
46
+ ./configure --enable-scalar-objects
47
+ make
48
+ sudo make install
49
+
50
+ - name : Make test
51
+ run : make test
52
+
53
+ - name : Run tests
54
+ env :
55
+ REPORT_EXIT_STATUS : 1
56
+ run : php run-tests.php -p `which php` --show-diff -d extension=`pwd`/modules/scalar_objects.so -q
You can’t perform that action at this time.
0 commit comments