Skip to content

Commit 4edf9c1

Browse files
ci: run the unit test suite against both renderers
Add a reacton-fast: ["0", "1"] matrix dimension so the suite runs with the default renderer and with the opt-in fast one (REACTON_FAST=1) on every Python version, keeping the two behavior-identical. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 20efc14 commit 4edf9c1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]
25+
# run the suite against both the default renderer and the opt-in fast
26+
# one (REACTON_FAST=1), so both stay green
27+
reacton-fast: ["0", "1"]
2528

29+
name: unit-test (py${{ matrix.python-version }}, REACTON_FAST=${{ matrix.reacton-fast }})
2630
steps:
2731
- uses: actions/checkout@v4
2832
- name: Set up Python ${{ matrix.python-version }}
@@ -37,4 +41,6 @@ jobs:
3741
run: |
3842
pip install `echo dist/*.whl`[dev] "bqplot<0.13" "pandas<3" "ruff==0.8.3"
3943
- name: test
44+
env:
45+
REACTON_FAST: ${{ matrix.reacton-fast }}
4046
run: pytest --cov=reacton reacton

0 commit comments

Comments
 (0)