Skip to content

Commit

Permalink
Support elasticsearch 8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Jul 28, 2023
1 parent 1687e30 commit 319f88c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 11 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,24 @@ on:
branches: [ main ]

jobs:
tests_8_6:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: [3.7, 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.6"
tests_8_5:
needs: [tests_8_6]
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand All @@ -29,7 +46,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.8, 3.9, "3.10", "3.11", pypy-3.8]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -46,7 +63,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", pypy-3.8]
python-version: [3.8, 3.9, "3.10", "3.11"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -63,7 +80,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [3.9, "3.10", "3.11"]
python-version: ["3.10", "3.11"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -75,7 +92,7 @@ jobs:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.2"
tests_8_1:
needs: [tests_8_2]
needs: [tests_8_3]
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand All @@ -92,12 +109,12 @@ jobs:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.1"
tests_8_0:
needs: [tests_8_2]
needs: [tests_8_3]
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11"]
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.5"
elasticsearch = "==8.6"

[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.

0 comments on commit 319f88c

Please sign in to comment.