Skip to content

Commit

Permalink
Add opentsdb to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Sep 2, 2024
1 parent aa583bc commit 5bb4565
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
options: >-
--health-cmd="curl -f http://opentsdb:4242/api/version"
--health-interval=10s
--health-timeout=5s
--health-retries=3
--health-timeout=10s
--health-retries=5
env:
TSDB_LOG_LEVEL: "DEBUG"

Expand Down Expand Up @@ -48,5 +48,8 @@ jobs:
run: |
docker ps | grep opentsdb
- name: Check OpenTSDB logs
run: docker logs $(docker ps -q --filter "name=opentsdb")

- name: Execute tests
run: APP_ENV=ci ./vendor/bin/phpunit

0 comments on commit 5bb4565

Please sign in to comment.