Skip to content

Commit

Permalink
Update elasticsearch in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Dec 2, 2024
1 parent 7a3ccb3 commit f8ec4f4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 36 deletions.
55 changes: 19 additions & 36 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_12:
tests_8_16:
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand All @@ -22,26 +22,9 @@ jobs:
- uses: ./.github/actions/pytest
with:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.12"
tests_8_11:
needs: [tests_8_12]
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "pypy-3.10"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
ES_JAVA_OPTS: "-Xms256m -Xmx512m"
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pytest
with:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.11"
tests_8_10:
needs: [tests_8_11]
elasticsearch: "8.16"
tests_8_15:
needs: [tests_8_16]
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand All @@ -56,14 +39,14 @@ jobs:
- uses: ./.github/actions/pytest
with:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.10"
tests_8_9:
needs: [tests_8_10]
elasticsearch: "8.15"
tests_8_14:
needs: [tests_8_15]
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.13"]
python-version: ["3.11", "3.12", "3.13"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -73,9 +56,9 @@ jobs:
- uses: ./.github/actions/pytest
with:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.9"
tests_8_8:
needs: [tests_8_10]
elasticsearch: "8.14"
tests_8_13:
needs: [tests_8_14]
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand All @@ -90,9 +73,9 @@ jobs:
- uses: ./.github/actions/pytest
with:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.8"
tests_8_7:
needs: [tests_8_10]
elasticsearch: "8.13"
tests_8_12:
needs: [tests_8_14]
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand All @@ -107,9 +90,9 @@ jobs:
- uses: ./.github/actions/pytest
with:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.7"
tests_8_0:
needs: [tests_8_10]
elasticsearch: "8.12"
tests_8_11:
needs: [tests_8_14]
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand All @@ -124,13 +107,13 @@ jobs:
- uses: ./.github/actions/pytest
with:
python-version: ${{ matrix.python-version }}
elasticsearch: "8.0"
elasticsearch: "8.11"
tests_7_17:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.11", "3.12", "3.13"]
python-version: ["3.13"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand Down
1 change: 1 addition & 0 deletions newsfragments/+781ef2a3.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update elasticsearch in tests up Until 8.16

0 comments on commit f8ec4f4

Please sign in to comment.