Support elasticsearch 8.6 #415
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
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 | |
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.5" | |
tests_8_4: | |
needs: [tests_8_5] | |
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.4" | |
tests_8_3: | |
needs: [tests_8_4] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: [3.8, 3.9, "3.10", "3.11"] | |
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.3" | |
tests_8_2: | |
needs: [tests_8_3] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.10", "3.11"] | |
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.2" | |
tests_8_1: | |
needs: [tests_8_3] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.10", "3.11"] | |
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_3] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.11"] | |
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.0" | |
tests_7_17: | |
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 }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/pytest | |
with: | |
python-version: ${{ matrix.python-version }} | |
elasticsearch: "7.17" | |
tests_7_16: | |
needs: [tests_7_17] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.11"] | |
env: | |
OS: ubuntu-latest | |
PYTHON: ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/pytest | |
with: | |
python-version: ${{ matrix.python-version }} | |
elasticsearch: "7.16" | |
tests_7_15: | |
needs: [tests_7_17] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.11"] | |
env: | |
OS: ubuntu-latest | |
PYTHON: ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/pytest | |
with: | |
python-version: ${{ matrix.python-version }} | |
elasticsearch: "7.15" | |
tests_7_14: | |
needs: [tests_7_17] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.11"] | |
env: | |
OS: ubuntu-latest | |
PYTHON: ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/pytest | |
with: | |
python-version: ${{ matrix.python-version }} | |
elasticsearch: "7.14" |