Skip to content

add type checking to CI (4) #4

add type checking to CI (4)

add type checking to CI (4) #4

Workflow file for this run

name: Type-check Ryven and ryvencore-qt using mypy
on:
push:
branches:
- main
- dev
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
Build-and-Publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.10.x
architecture: x64
- name: Install ryvencore-qt dependencies
run: python -m pip install . --user && python -m pip uninstall ryvencore-qt --yes
working-directory: ./ryvencore-qt
- name: Install Ryven dependencies
run: python -m pip install . --user && python -m pip uninstall ryven --yes
working-directory: ./ryven-editor
- name: Install type-checking dependencies
run: python -m pip install mypy pyside2 --user
- name: Typecheck
run: mypy
working-directory: .