@@ -18,83 +18,59 @@ jobs:
1818 strategy :
1919 fail-fast : false
2020 matrix :
21- python-version : ["3.9", "3. 10", "3.11", "3.12", "3.13"]
21+ python-version : ["3.10", "3.11", "3.12", "3.13"]
2222 name : integration-tests
2323 runs-on : ubuntu-latest
2424 env :
2525 PYTHONUNBUFFERED : 1
26- UV_PYTHON : ${{ matrix.python-version }}
26+ PYTHON_VERSION : ${{ matrix.python-version }}
2727 UV_LOCKED : 1
2828 steps :
2929 - name : Checkout the repository
3030 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3131 with :
3232 persist-credentials : false
3333
34- - name : Set up Python ${{ matrix.python-version }}
34+ - name : Set up Python ${{ env.PYTHON_VERSION }}
3535 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3636 with :
37- python-version : ${{ matrix.python-version }}
37+ python-version : ${{ env.PYTHON_VERSION }}
3838
3939 - name : Install uv
4040 uses : astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
4141 with :
4242 version : " 0.11.21"
43+ python-version : ${{ env.PYTHON_VERSION }}
4344
4445 - name : Meilisearch (latest version) setup with Docker
4546 run : docker run -d -p 7700:7700 getmeili/meilisearch-enterprise:latest meilisearch --no-analytics --master-key=masterKey
4647
4748 - name : Test with pytest
4849 run : uv run pytest --cov-report=xml
4950
50- pylint :
51- name : pylint
52- runs-on : ubuntu-latest
53- env :
54- PYTHONUNBUFFERED : 1
55- UV_PYTHON : " 3.9"
56- UV_LOCKED : 1
57- steps :
58- - name : Checkout the repository
59- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
60- with :
61- persist-credentials : false
62-
63- - name : Set up Python 3.9
64- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
65- with :
66- python-version : " 3.9"
67-
68- - name : Install uv
69- uses : astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
70- with :
71- version : " 0.11.21"
72-
73- - name : Linter with pylint
74- run : uv run pylint meilisearch tests
75-
7651 mypy :
7752 name : mypy
7853 runs-on : ubuntu-latest
7954 env :
8055 PYTHONUNBUFFERED : 1
81- UV_PYTHON : " 3.9 "
56+ PYTHON_VERSION : " 3.10 "
8257 UV_LOCKED : 1
8358 steps :
8459 - name : Checkout the repository
8560 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
8661 with :
8762 persist-credentials : false
8863
89- - name : Set up Python 3.9
64+ - name : Set up Python ${{ env.PYTHON_VERSION }}
9065 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
9166 with :
92- python-version : 3.9
67+ python-version : ${{ env.PYTHON_VERSION }}
9368
9469 - name : Install uv
9570 uses : astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
9671 with :
9772 version : " 0.11.21"
73+ python-version : ${{ env.PYTHON_VERSION }}
9874
9975 - name : mypy type check
10076 run : uv run mypy meilisearch
@@ -108,36 +84,13 @@ jobs:
10884 with :
10985 persist-credentials : false
11086
111- - name : ruff format
87+ - name : Run linter
11288 uses : astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b # v4.0.0
11389 with :
114- args : " format --check"
115-
116- isort :
117- name : isort
118- runs-on : ubuntu-latest
119- env :
120- PYTHONUNBUFFERED : 1
121- UV_PYTHON : " 3.9"
122- UV_LOCKED : 1
123- steps :
124- - name : Checkout the repository
125- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
126- with :
127- persist-credentials : false
128-
129- - name : Set up Python 3.9
130- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
131- with :
132- python-version : 3.9
133-
134- - name : Install uv
135- uses : astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
136- with :
137- version : " 0.11.21"
90+ args : " check --output-format=full"
13891
139- - name : isort
140- run : uv run isort meilisearch tests --check-only
92+ - name : Run formatter
93+ run : ruff format --check --output-format=full
14194
14295 yaml-lint :
14396 name : Yaml linting check
0 commit comments