Skip to content

Commit aa83eb0

Browse files
committed
fi
1 parent 8e3ca46 commit aa83eb0

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@ jobs:
88
strategy:
99
matrix:
1010
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
11-
12-
services:
13-
elasticsearch:
14-
image: docker.elastic.co/elasticsearch/elasticsearch:8.2.2
15-
ports:
16-
- 9200:9200
17-
env:
18-
discovery.type: single-node
19-
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
20-
2111
steps:
2212
- uses: actions/checkout@master
2313
- uses: actions/setup-python@v5
@@ -39,12 +29,23 @@ jobs:
3929
sudo sysctl -w vm.swappiness=1
4030
sudo sysctl -w fs.file-max=262144
4131
sudo sysctl -w vm.max_map_count=262144
32+
- name: Install and run Elasticsearch 📦
33+
uses: getong/elasticsearch-action@v1.2
34+
with:
35+
elasticsearch version: '8.2.2'
36+
host port: 9200
37+
container port: 9200
38+
host node port: 9300
39+
node port: 9300
40+
discovery type: 'single-node'
41+
elasticsearch java opts: "-Xms512m -Xmx512m"
4242
- name: Install and run Solr 📦
4343
uses: OSGeo/solr-action@main
4444
with:
4545
solr_version: 9.8.1
4646
host_port: 8983
4747
container_port: 8983
48+
java-opts: "-Xms512m -Xmx512m"
4849
- name: Install and run OpenSearch 📦
4950
uses: esmarkowski/opensearch-github-action@v1.0.0
5051
with:

0 commit comments

Comments
 (0)