Bump ruff from 0.1.15 to 0.2.0 #605
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_9: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: [3.8, 3.9, "3.10", "3.11", pypy-3.9] | |
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.9" | |
tests_8_8: | |
needs: [tests_8_9] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: [3.8, 3.9, "3.10", "3.11", pypy-3.9] | |
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.8" | |
tests_8_7: | |
needs: [tests_8_8] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: [3.9, "3.10", "3.11"] | |
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.6" | |
tests_8_6: | |
needs: [tests_8_7] | |
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@v4 | |
- uses: ./.github/actions/pytest | |
with: | |
python-version: ${{ matrix.python-version }} | |
elasticsearch: "8.6" | |
tests_8_5: | |
needs: [tests_8_7] | |
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@v4 | |
- uses: ./.github/actions/pytest | |
with: | |
python-version: ${{ matrix.python-version }} | |
elasticsearch: "8.5" | |
tests_8_4: | |
needs: [tests_8_7] | |
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@v4 | |
- uses: ./.github/actions/pytest | |
with: | |
python-version: ${{ matrix.python-version }} | |
elasticsearch: "8.4" | |
tests_8_3: | |
needs: [tests_8_7] | |
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@v4 | |
- uses: ./.github/actions/pytest | |
with: | |
python-version: ${{ matrix.python-version }} | |
elasticsearch: "8.3" | |
tests_8_0: | |
needs: [tests_8_7] | |
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@v4 | |
- 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.8, 3.9, "3.10", "3.11"] | |
env: | |
OS: ubuntu-latest | |
PYTHON: ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/pytest | |
with: | |
python-version: ${{ matrix.python-version }} | |
elasticsearch: "7.17" | |
tests_7_17_lib_7: | |
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@v4 | |
- uses: ./.github/actions/elastic_7 | |
with: | |
python-version: ${{ matrix.python-version }} | |
elasticsearch: "7.17" |