Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Removed duplicate doc job, ignore missing mypy imports (#204)

Dmitrii Khizbulline9c4980b8f4a
diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml
index 73ac03486..f30034512 100644
--- a/.github/workflows/documentation.yaml
+++ b/.github/workflows/documentation.yaml
@@ -1,5 +1,10 @@
name: Docs
-on: [push, pull_request, workflow_dispatch]
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+ workflow_dispatch:
permissions:
contents: write
jobs:
@@ -10,7 +15,8 @@ jobs:
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
- pip install sphinx sphinx_book_theme recommonmark numpy openai tenacity tiktoken colorama
+ pip install -e .
+ pip install sphinx sphinx_book_theme recommonmark
- name: Sphinx build
run: |
cd docs
diff --git a/pyproject.toml b/pyproject.toml
index 169b05dd4..317597351 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -73,5 +73,11 @@ include_namespace_packages = true
[[tool.mypy.overrides]]
module = [
"transformers.tools",
+ "tiktoken",
+ "openai",
+ "tenacity",
+ "tenacity.stop",
+ "tenacity.wait",
+ "pytest",
]
ignore_missing_imports = true