@@ -135,9 +135,9 @@ jobs:
135
135
run : |
136
136
cd tests
137
137
pytest compliance/test_typing.py
138
-
138
+
139
139
background-callbacks :
140
- name : Run Background Callback Tests (Python ${{ matrix.python-version }})
140
+ name : Run Background & Async Callback Tests (Python ${{ matrix.python-version }})
141
141
needs : [build, changes_filter]
142
142
if : |
143
143
(github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev')) ||
@@ -195,7 +195,7 @@ jobs:
195
195
python -m pip install --upgrade pip wheel
196
196
python -m pip install "setuptools<78.0.0"
197
197
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]"' \;
199
199
200
200
- name : Install Google Chrome
201
201
run : |
@@ -253,13 +253,17 @@ jobs:
253
253
run : |
254
254
python -c "import redis; r = redis.Redis(host='localhost', port=6379, db=0); r.ping(); print('Successfully connected to Redis!')"
255
255
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
257
260
run : |
258
261
mkdir bgtests
259
262
cp -r tests bgtests/tests
260
263
cd bgtests
261
264
touch __init__.py
262
265
pytest --headless --nopercyfinalize tests/background_callback -v -s
266
+ pytest --headless --nopercyfinalize tests/async_tests -v -s
263
267
264
268
table-unit :
265
269
name : Table Unit/Lint Tests (Python ${{ matrix.python-version }})
0 commit comments