File tree 2 files changed +46
-13
lines changed
2 files changed +46
-13
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,23 @@ jobs:
16
16
fail-fast : false
17
17
matrix :
18
18
php : ['8.0', '8.1', '8.2', '8.3']
19
- os : ['debian', 'alpine']
20
- container :
21
- image : ghcr.io/open-telemetry/opentelemetry-php-instrumentation/php:${{ matrix.php }}-${{ matrix.os }}-debug
22
19
23
20
steps :
24
- - uses : actions/checkout@v4
25
- - name : Build
26
- run : |
27
- phpize
28
- ./configure
29
- make
30
- - name : Test
31
- env :
32
- TEST_PHP_ARGS : " -q" # do not try to submit failures
33
- run : make test TESTS=--show-diff
21
+ - name : Checkout
22
+ uses : actions/checkout@v4
23
+ - name : Setup PHP
24
+ uses : shivammathur/setup-php@v2
25
+ with :
26
+ php-version : ${{ matrix.php }}
27
+ - name : Build
28
+ run : |
29
+ phpize
30
+ ./configure
31
+ make
32
+ - name : Test
33
+ env :
34
+ TEST_PHP_ARGS : " -q" # do not try to submit failures
35
+ run : make test TESTS=--show-diff
34
36
35
37
macos :
36
38
runs-on : macos-latest
Original file line number Diff line number Diff line change
1
+ name : Build and test against PHP nightly
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ branches : [ main ]
7
+ schedule :
8
+ - cron : ' 37 5 * * *'
9
+
10
+ defaults :
11
+ run :
12
+ working-directory : ext
13
+
14
+ jobs :
15
+ nightly :
16
+ if : github.repository == 'open-telemetry/opentelemetry-php-instrumentation'
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ - uses : shivammathur/setup-php@v2
21
+ with :
22
+ php-version : 8.4
23
+ - name : Build
24
+ run : |
25
+ phpize
26
+ ./configure
27
+ make
28
+ - name : Test
29
+ env :
30
+ TEST_PHP_ARGS : " -q"
31
+ run : make test TESTS=--show-diff
You can’t perform that action at this time.
0 commit comments