Skip to content

Commit

Permalink
Rename, add mypy to test deps
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Sep 10, 2024
1 parent e29a940 commit 12ef29e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python Unit Tests
name: Python Tests

# suppress warning raised by https://github.com/jupyter/jupyter_core/pull/292
env:
Expand All @@ -12,7 +12,7 @@ on:

jobs:
unit-tests:
name: Linux
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -30,7 +30,7 @@ jobs:
pytest -vv -r ap --cov jupyter_ai
typing-tests:
name: Linux
name: Typing test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Install extension dependencies and build the extension
run: ./scripts/install.sh

- name: Execute unit tests
- name: Run mypy
run: |
set -eux
mypy --version
Expand Down
2 changes: 2 additions & 0 deletions packages/jupyter-ai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ test = [
"pytest-tornasync",
"pytest-jupyter",
"syrupy~=4.0.8",
"types-jsonschema",
"mypy"
]

dev = ["jupyter_ai_magics[dev]"]
Expand Down

0 comments on commit 12ef29e

Please sign in to comment.