Skip to content

Commit

Permalink
Add initial type check CI (microsoft#1882)
Browse files Browse the repository at this point in the history
* Add type check CI

* newline

* dont install editable

* add --non-interactive

* Update type-check.yml
  • Loading branch information
jackgerrits authored Mar 9, 2024
1 parent 366c7f0 commit b1e00f0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b1e00f0

Please sign in to comment.