File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Typing Tests
2+
3+ on :
4+ push : # Runs for pushes to all branches
5+ pull_request : # Runs for all pull request events (e.g., opened, synchronize)
6+
7+ jobs :
8+ test-typing :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v4
14+
15+ - name : Set up Node.js
16+ uses : actions/setup-node@v4
17+ with :
18+ node-version : ' 20'
19+ cache : ' npm'
20+
21+ - name : Install Node.js dependencies
22+ run : npm ci
23+
24+ - name : Set up Python 3.12
25+ uses : actions/setup-python@v5
26+ with :
27+ python-version : ' 3.12'
28+ cache : ' pip'
29+
30+ - name : Install Python dependencies including project in editable mode with extras
31+ run : |
32+ python -m pip install --upgrade pip setuptools wheel
33+ # This command installs the Dash package in editable mode (-e)
34+ # along with dependencies specified in the [ci,testing,dev] extras
35+ # defined in your setup.py or pyproject.toml.
36+ # Ensure these extras include pytest and any typing tools.
37+ pip install -e .[ci,testing,dev]
38+
39+ - name : Build project (JS/CSS, etc.)
40+ run : npm run build
41+
42+ - name : Build/Setup test components (runs a Python script)
43+ run : npm run setup-tests.py
44+
45+ - name : Run typing tests
46+ run : pytest tests/compliance/test_typing.py
File renamed without changes.
You can’t perform that action at this time.
0 commit comments