Skip to content

Commit 75a3752

Browse files
authored
Merge pull request #3089 from BSd3v/support-async-callbacks
adding support for async callbacks and page layouts
2 parents 9add5c1 + 513408d commit 75a3752

File tree

20 files changed

+2092
-413
lines changed

20 files changed

+2092
-413
lines changed

.github/workflows/testing.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ jobs:
135135
run: |
136136
cd tests
137137
pytest compliance/test_typing.py
138-
138+
139139
background-callbacks:
140-
name: Run Background Callback Tests (Python ${{ matrix.python-version }})
140+
name: Run Background & Async Callback Tests (Python ${{ matrix.python-version }})
141141
needs: [build, changes_filter]
142142
if: |
143143
(github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev')) ||
@@ -195,7 +195,7 @@ jobs:
195195
python -m pip install --upgrade pip wheel
196196
python -m pip install "setuptools<78.0.0"
197197
python -m pip install "selenium==4.32.0"
198-
find packages -name dash-*.whl -print -exec sh -c 'pip install "{}[ci,testing,dev,celery,diskcache]"' \;
198+
find packages -name dash-*.whl -print -exec sh -c 'pip install "{}[async,ci,testing,dev,celery,diskcache]"' \;
199199
200200
- name: Install Google Chrome
201201
run: |
@@ -253,13 +253,17 @@ jobs:
253253
run: |
254254
python -c "import redis; r = redis.Redis(host='localhost', port=6379, db=0); r.ping(); print('Successfully connected to Redis!')"
255255
256-
- name: Run Background Callback Tests
256+
- name: Build/Setup test components
257+
run: npm run setup-tests.py
258+
259+
- name: Run Background & Async Callback Tests
257260
run: |
258261
mkdir bgtests
259262
cp -r tests bgtests/tests
260263
cd bgtests
261264
touch __init__.py
262265
pytest --headless --nopercyfinalize tests/background_callback -v -s
266+
pytest --headless --nopercyfinalize tests/async_tests -v -s
263267
264268
table-unit:
265269
name: Table Unit/Lint Tests (Python ${{ matrix.python-version }})

0 commit comments

Comments
 (0)