5454 run : |
5555 uv venv
5656 source .venv/bin/activate
57- uv sync --extra dev_optional
57+ uv sync --extra dev_optional --extra dev_pandas3
5858 python --version
5959 - name : Test core
6060 run : |
@@ -82,14 +82,22 @@ jobs:
8282 python -m pytest -x test_init/test_lazy_imports.py
8383
8484 test-optional-legacy-pandas :
85- name : Optional tests, Pandas 1 (Python 3.9, Pandas 1.2.4 )
85+ name : Optional tests (Python ${{ matrix.python-version }}, pandas ${{ matrix.pandas-version }} )
8686 runs-on : ubuntu-latest
87+ strategy :
88+ fail-fast : false
89+ matrix :
90+ include :
91+ - python-version : " 3.9"
92+ pandas-version : " 1"
93+ - python-version : " 3.11"
94+ pandas-version : " 2"
8795 steps :
8896 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8997 - name : Set up Python
9098 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
9199 with :
92- python-version : " 3.9 "
100+ python-version : ${{ matrix.python-version }}
93101 - name : Set up Chrome for browser tests
94102 uses : ./.github/actions/setup-chrome-for-pytest
95103 - name : Set up uv
98106 run : |
99107 uv venv
100108 source .venv/bin/activate
101- uv sync --extra dev_optional
102- uv pip install pandas==1.2.4 numpy==1.26.4
109+ uv sync --extra dev_optional --extra dev_pandas${{ matrix.pandas-version }}
103110 - name : Test core
104111 run : |
105112 source .venv/bin/activate
@@ -126,7 +133,7 @@ jobs:
126133 python -m pytest -x test_init/test_lazy_imports.py
127134
128135 test-kaleido-v0 :
129- name : Optional tests (Kaleido only), Kaleido v0 (Python 3.12, Kaleido v0 .2.1)
136+ name : Optional tests (Kaleido only), Kaleido v0 (Python 3.12, kaleido==0 .2.1)
130137 runs-on : ubuntu-latest
131138 steps :
132139 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
0 commit comments