From 6f4ba2000386ce98c65fa94f496e93c827363333 Mon Sep 17 00:00:00 2001 From: Leon Luithlen Date: Tue, 12 Nov 2024 14:22:12 +0100 Subject: [PATCH] Run integration tests in pipeline --- .github/workflows/test_python_3_10.yml | 5 ++++- .github/workflows/test_python_3_11.yml | 5 ++++- .github/workflows/test_python_3_9.yml | 5 ++++- pytest.ini | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_python_3_10.yml b/.github/workflows/test_python_3_10.yml index 9fa7ea053..7f762d778 100644 --- a/.github/workflows/test_python_3_10.yml +++ b/.github/workflows/test_python_3_10.yml @@ -50,9 +50,12 @@ jobs: - name: Install dependencies run: poetry install --no-interaction - - name: Run tests + - name: Run unit tests run: poetry run pytest cognee/tests/unit/ + - name: Run integration tests + run: poetry run pytest cognee/tests/integration/ + - name: Run default basic pipeline env: ENV: 'dev' diff --git a/.github/workflows/test_python_3_11.yml b/.github/workflows/test_python_3_11.yml index 134afdc66..b05d901dc 100644 --- a/.github/workflows/test_python_3_11.yml +++ b/.github/workflows/test_python_3_11.yml @@ -50,9 +50,12 @@ jobs: - name: Install dependencies run: poetry install --no-interaction - - name: Run tests + - name: Run unit tests run: poetry run pytest cognee/tests/unit/ + - name: Run integration tests + run: poetry run pytest cognee/tests/integration/ + - name: Run default basic pipeline env: ENV: 'dev' diff --git a/.github/workflows/test_python_3_9.yml b/.github/workflows/test_python_3_9.yml index 157290596..47c5ddc41 100644 --- a/.github/workflows/test_python_3_9.yml +++ b/.github/workflows/test_python_3_9.yml @@ -50,9 +50,12 @@ jobs: - name: Install dependencies run: poetry install --no-interaction - - name: Run tests + - name: Run unit tests run: poetry run pytest cognee/tests/unit/ + - name: Run integration tests + run: poetry run pytest cognee/tests/integration/ + - name: Run default basic pipeline env: ENV: 'dev' diff --git a/pytest.ini b/pytest.ini index 4ff1be615..7b8ec381c 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,2 +1,2 @@ [pytest] -addopts = cognee/tests/unit \ No newline at end of file +addopts = cognee/tests \ No newline at end of file