File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,18 @@ on: [push, pull_request]
5
5
jobs :
6
6
test :
7
7
runs-on : ${{ matrix.os }}
8
+
9
+ services :
10
+ opentsdb :
11
+ image : petergrace/opentsdb-docker:latest
12
+ ports :
13
+ - 4242:4242
14
+ - 60030:60030
15
+
8
16
strategy :
9
17
fail-fast : false
10
18
matrix :
11
- os : [ubuntu-latest, windows-latest ]
19
+ os : [ubuntu-latest]
12
20
php : [8.3, 8.2, 8.1, 8.0]
13
21
dependency-version : [prefer-lowest, prefer-stable]
14
22
28
36
- name : Install dependencies
29
37
run : composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
30
38
39
+ - name : Check if OpenTSDB service is running
40
+ run : |
41
+ docker ps | grep opentsdb
42
+
31
43
- name : Execute tests
32
- run : vendor/bin/phpunit
44
+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ services:
55
55
container_name : php-opentsdb-client-lib-opentsdb
56
56
image : petergrace/opentsdb-docker:latest
57
57
environment :
58
- - WAITSECS=30 # Give time for hbase to shutdown , otherwise data corruption may result
58
+ - WAITSECS=30 # Give time for hbase to shut down , otherwise data corruption may result
59
59
ports :
60
60
- 4242:4242
61
61
- 60030:60030
You can’t perform that action at this time.
0 commit comments