mirror of https://github.com/microsoft/autogen.git
Add initial type check CI (#1882)
* Add type check CI * newline * dont install editable * add --non-interactive * Update type-check.yml
This commit is contained in:
parent
d447f7f646
commit
0e1a4b9fdd
|
@ -0,0 +1,22 @@
|
|||
name: Type check
|
||||
|
||||
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
|
||||
on: # Trigger the workflow on pull request or merge
|
||||
pull_request:
|
||||
merge_group:
|
||||
types: [checks_requested]
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
type-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
- run: pip install ".[jupyter-executor]" mypy
|
||||
# As more modules are type check clean, add them here
|
||||
- run: mypy --install-types --non-interactive autogen/logger
|
Loading…
Reference in New Issue