Skip to content

Commit

Permalink
Merge pull request #501 from ClearcodeHQ/elasticsearch-update82
Browse files Browse the repository at this point in the history
Support elasticsearch 8.2
  • Loading branch information
fizyk authored Jul 28, 2023
2 parents 891b6fe + c829700 commit 5cbea1b
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 9 deletions.
40 changes: 37 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ main ]

jobs:
tests_8_0:
tests_8_2:
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand All @@ -17,6 +17,40 @@ jobs:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
ES_JAVA_OPTS: "-Xms256m -Xmx512m"
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/pytest
with:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.2"
tests_8_1:
needs: [tests_8_2]
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", pypy-3.8]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
ES_JAVA_OPTS: "-Xms256m -Xmx512m"
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/pytest
with:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.1"
tests_8_0:
needs: [tests_8_1]
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", pypy-3.8]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
ES_JAVA_OPTS: "-Xms256m -Xmx512m"
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/pytest
Expand Down Expand Up @@ -44,7 +78,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", pypy-3.8]
python-version: [3.9, "3.10", "3.11"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -60,7 +94,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.11", pypy-3.8]
python-version: ["3.11"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "pypi"
pytest = "==7.3.2"
port-for = "==0.7.0"
mirakuru = "==2.5.1"
elasticsearch = "==8.0.1"
elasticsearch = "==8.2"

[dev-packages]
towncrier = "==23.6.0"
Expand Down
8 changes: 4 additions & 4 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion newsfragments/384.feature.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Support elasticsearch 8.
Support elasticsearch up to 8.2

0 comments on commit 5cbea1b

Please sign in to comment.