Skip to content

Commit

Permalink
CI github update for ES plugin installation in order to pass tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jphilou committed May 8, 2024
1 parent 974f59f commit f99a261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
run: |
mkdir /tmp/elasticsearch
wget -O - https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.6/elasticsearch-2.4.6.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
/tmp/elasticsearch/bin/plugin install analysis-icu
/tmp/elasticsearch/bin/elasticsearch --daemonize --path.data /tmp
sleep 30 # ElasticSearch takes few seconds to start, make sure it is available when the build script runs
/tmp/elasticsearch/bin/plugin install analysis-icu
- run: curl -v http://localhost:9200
- name: Run tests
run: pytest --cov-report term --cov-report xml --cov=c2corg_api
Expand Down

0 comments on commit f99a261

Please sign in to comment.