Skip to content

build from root

build from root #41

Workflow file for this run

name: Typing Tests
on:
push: # Runs for pushes to all branches
workflow_dispatch: # Allows manual triggering
jobs:
test-typing:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install Node.js dependencies
run: npm ci
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: Install Python dependencies including project in editable mode with extras
run: |
python -m pip install --upgrade pip wheel
pip install "setuptools<80.0.0"
pip install -e .[ci,testing,dev]
- name: Build project (JS/CSS, etc.)
run: npm run build
- name: Build/Setup test components
run: npm run setup-tests.py
- name: Run typing tests
run: pytest tests/compliance/test_typing.py