File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ python :
11+ name : Python shim tests
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : Set up Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : " 3.11"
19+ - name : Install package + dev deps
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install -e ".[dev]"
23+ - name : Run pytest
24+ run : pytest -v
25+
26+ engine-typecheck :
27+ name : Engine type-check
28+ runs-on : ubuntu-latest
29+ steps :
30+ - uses : actions/checkout@v4
31+ - name : Set up Node
32+ uses : actions/setup-node@v4
33+ with :
34+ node-version : " 22"
35+ - name : Install engine deps
36+ working-directory : engine
37+ run : npm ci
38+ - name : Type-check
39+ working-directory : engine
40+ run : |
41+ if [ -f tsconfig.json ]; then
42+ npx tsc --noEmit
43+ else
44+ echo "No tsconfig.json; skipping type-check."
45+ fi
You can’t perform that action at this time.
0 commit comments