Skip to content

Commit

Permalink
test: setup ES
Browse files Browse the repository at this point in the history
  • Loading branch information
wzyboy committed Jul 9, 2023
1 parent 430ca22 commit 9862899
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: pip

- name: Setup Elasticsearch
run: |
pushd tests/elasticsearch
docker compose up -d
# wait until up
docker inspect --format '{{ .NetworkSettings.IPAddress }}:9200' es01 | xargs wget --retry-connrefused --tries=5 -q --wait=3 --spider
popd
- name: Run pytest
run: |
pip install -r requirements-dev.txt
Expand Down

0 comments on commit 9862899

Please sign in to comment.