We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dab1fd commit 049a8dbCopy full SHA for 049a8db
2 files changed
.github/workflows/ci.yml
@@ -33,4 +33,4 @@ jobs:
33
run: uv run ruff check .
34
35
- name: Run tests
36
- run: uv run pytest tests/ -v
+ run: uv run pytest tests/ -v -m "not integration"
tests/test_api.py
@@ -1,9 +1,15 @@
1
"""Tests for API endpoints."""
2
3
+import os
4
import pytest
5
from fastapi.testclient import TestClient
6
from unittest.mock import Mock, patch
7
8
+pytestmark = pytest.mark.skipif(
9
+ "CI" in os.environ,
10
+ reason="API tests require vector DB setup, those tests are run locally.",
11
+)
12
+
13
14
@pytest.fixture
15
def mock_retriever():
0 commit comments