Skip to content

Commit 097159c

Browse files
abhizipstackclaude
andcommitted
fix: run only tests/unit — exclude integration and unit_tests dirs
tests/integration_tests and tests/unit_tests have import issues in CI (ModuleNotFoundError: backend.tests). Run only tests/unit which is the configured testpath in pyproject.toml. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 674b6f7 commit 097159c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/core-backend-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Run tests
4242
run: |
4343
uv run coverage run --rcfile=pyproject.toml --source=. -m \
44-
pytest -x -vv --ignore=tests/integration_tests -m "not snowflake and not bigquery and not trino and not postgres"
44+
pytest -x -vv tests/unit --ignore=tests/integration_tests --ignore=tests/unit_tests -m "not snowflake and not bigquery and not trino and not postgres"
4545
4646
- name: Generate coverage report
4747
run: |

0 commit comments

Comments
 (0)