Skip to content

test(hw): ADRV9009+ZC706 device-tree overlay lifecycle test #281

test(hw): ADRV9009+ZC706 device-tree overlay lifecycle test

test(hw): ADRV9009+ZC706 device-tree overlay lifecycle test #281

Workflow file for this run

name: Type Check (ty)
permissions:
contents: read
on:
workflow_dispatch:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
type-check:
runs-on: ubuntu-latest
name: Type Check (ty)
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[test]"
pip install ty
- name: Run ty type checker
continue-on-error: true
run: |
ty check adidt/model/ adidt/xsa/builders/ adidt/devices/ adidt/system.py adidt/tools/ 2>&1 | tee ty_report.txt
echo "## Type Check Report (ty)" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
tail -5 ty_report.txt >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY