Adding new slash command /tools
to use LLMs with your own custom tools
#1132
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Tests | |
# suppress warning raised by https://github.com/jupyter/jupyter_core/pull/292 | |
env: | |
JUPYTER_PLATFORM_DIRS: "1" | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: "*" | |
jobs: | |
unit-tests: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Base Setup | |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
- name: Install extension dependencies and build the extension | |
run: ./scripts/install.sh | |
- name: Execute unit tests | |
run: | | |
set -eux | |
pytest -vv -r ap --cov jupyter_ai | |
typing-tests: | |
name: Typing test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Base Setup | |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
- name: Install extension dependencies and build the extension | |
run: ./scripts/install.sh | |
- name: Run mypy | |
run: | | |
set -eux | |
mypy --version | |
mypy packages/jupyter-ai |