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 1, 2024
1 parent fae3590 commit d8cc5f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,11 @@ jobs:
- name: Install dependencies
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction

- name: Wait for OpenTSDB to be ready
run: |
for i in {1..30}; do
curl -s http://opentsdb:4242/api/version && break || sleep 2
done
- name: Execute tests
run: vendor/bin/phpunit

0 comments on commit d8cc5f1

Please sign in to comment.