@@ -38,25 +38,25 @@ jobs:
3838
3939 pytest :
4040 name : >
41- Python ${{ matrix.python-version }}
42- ${{ format('(pandas {0})', matrix.pandas-version) }}
43- ${{ format('(numpy {0})', matrix.numpy-version) }}
41+ ${{ matrix.python-version }}
42+ ${{ matrix.pandas-version && format('(pandas {0})', matrix.pandas-version)}}
43+ ${{ matrix.numpy-version && format('(numpy {0})', matrix.numpy-version)}}
4444 ${{ matrix.polars && '(polars)' }}
4545 ${{ matrix.modin && '(modin)' }}
46- ${{ matrix.uninstall_narwhals && '(Uninstall narwhals)' }}
47- ${{ matrix.uninstall_jinja2 && '(Uninstall jinja2)' }}
46+ ${{ matrix.uninstall_narwhals && '(without narwhals)' }}
47+ ${{ matrix.uninstall_jinja2 && '(without jinja2)' }}
4848 strategy :
4949 fail-fast : false
5050 matrix :
5151 python-version : [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]
52- pandas-version : [latest]
53- numpy-version : [latest]
5452 include :
53+ - python-version : 3.9
5554 - python-version : 3.9
5655 pandas-version : ' <2.0'
5756 numpy-version : ' <2.0'
5857 - python-version : " 3.13"
5958 pandas-version : pre
59+ - python-version : " 3.13"
6060 polars : true
6161 - python-version : " 3.12"
6262 modin : false
@@ -82,17 +82,17 @@ jobs:
8282 - name : Install a development version of 'itables'
8383 run : pip install -e .[test]
8484
85- - name : Install pandas latest
86- if : matrix.pandas-version == 'latest'
85+ - name : Install latest pandas
86+ if : ${{! matrix.pandas-version}}
8787 run : pip install pandas
8888 - name : Install pandas pre-release
8989 if : matrix.pandas-version == 'pre'
9090 run : pip install pandas --pre
9191 - name : Install pandas ${{ matrix.pandas-version }}
92- if : matrix.pandas-version != 'pre' && matrix.pandas-version != 'latest '
92+ if : matrix.pandas-version && matrix.pandas-version != 'pre '
9393 run : pip install 'pandas${{ matrix.pandas-version }}'
9494 - name : Install numpy ${{ matrix.numpy-version }}
95- if : matrix.numpy-version != 'latest'
95+ if : matrix.numpy-version
9696 run : pip install 'numpy${{ matrix.numpy-version }}'
9797
9898 - name : Install polars
0 commit comments