Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
- name: Install test dependencies
run: pip install -r requirements-test.txt

- name: Run tests with coverage
run: pytest tests/ -v --cov=app --cov-report=term-missing --cov-report=xml
- name: Run tests
run: pytest tests/ -v
env:
ENVIRONMENT: test
SECRET_KEY: ci-test-secret-key
Expand All @@ -56,10 +56,3 @@ jobs:
PINECONE_API_KEY: test
PINECONE_ENVIRONMENT: test
WHITELISTED_EMAILS: test@example.com

- name: Upload coverage report
uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-report
path: coverage.xml
12 changes: 11 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,14 @@ dependencies = [
"langchain-openai>=0.0.3",
"tiktoken>=0.5.2",
"unstructured>=0.11.8",
]
]

[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"

[tool.black]
line-length = 88

[tool.isort]
profile = "black"
Loading