Skip to content

Commit 8e3ca46

Browse files
committed
fi
1 parent 009fd84 commit 8e3ca46

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,16 @@ jobs:
88
strategy:
99
matrix:
1010
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
11-
env:
12-
DOCKER_API_VERSION: "1.44"
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+
1321
steps:
1422
- uses: actions/checkout@master
1523
- uses: actions/setup-python@v5
@@ -31,15 +39,6 @@ jobs:
3139
sudo sysctl -w vm.swappiness=1
3240
sudo sysctl -w fs.file-max=262144
3341
sudo sysctl -w vm.max_map_count=262144
34-
- name: Install and run Elasticsearch 📦
35-
uses: getong/elasticsearch-action@v1.3
36-
with:
37-
elasticsearch version: '8.2.2'
38-
host port: 9200
39-
container port: 9200
40-
host node port: 9300
41-
node port: 9300
42-
discovery type: 'single-node'
4342
- name: Install and run Solr 📦
4443
uses: OSGeo/solr-action@main
4544
with:

0 commit comments

Comments
 (0)