Skip to content

Commit dd1084e

Browse files
committed
Split table tests
1 parent 3188680 commit dd1084e

File tree

2 files changed

+466
-3
lines changed

2 files changed

+466
-3
lines changed

.github/workflows/table-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ jobs:
5151
npm run test.unit
5252
5353
table-server:
54-
name: Table Server Tests
54+
name: Table Server Tests (Group ${{ matrix.test-group }})
5555
runs-on: ubuntu-latest
5656
strategy:
5757
fail-fast: false
5858
matrix:
5959
python-version: ["3.12"] # Specify Python versions
60+
test-group: ["1", "2", "3"]
6061

6162
steps:
6263
- name: Checkout repository
@@ -134,7 +135,9 @@ jobs:
134135
cache: 'pip'
135136

136137
- name: Install Python dependencies
137-
run: pip install -e .[ci,dev,testing]
138+
run: |
139+
pip install -e .[ci,dev,testing]
140+
pip install pytest-split
138141
139142
- name: Build
140143
run: |
@@ -143,4 +146,4 @@ jobs:
143146
- name: Run Table Server Tests
144147
run: |
145148
cd components/dash-table
146-
pytest --nopercyfinalize --headless
149+
pytest --nopercyfinalize --headless --splits 3 --group ${{ matrix.test-group }}

0 commit comments

Comments
 (0)