diff --git a/.env.test b/.env.test index 765e76ff11..761d0d9210 100644 --- a/.env.test +++ b/.env.test @@ -3,4 +3,3 @@ NODE_ENV=tests # Federation LOCAL_DOMAIN=cb6e6126.ngrok.io LOCAL_HTTPS=true -ES_PREFIX=test diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index 2da229d075..ecded2cc2f 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -282,6 +282,19 @@ jobs: ports: - 6379:6379 + elasticsearch: + image: docker.elastic.co/elasticsearch/elasticsearch:7.17.9 + env: + discovery.type: single-node + xpack.security.enabled: false + options: >- + --health-cmd "curl http://localhost:9200/_cluster/health" + --health-interval 10s + --health-timeout 5s + --health-retries 10 + ports: + - 9200:9200 + env: DB_HOST: localhost DB_USER: postgres