Skip to content

Commit 616d538

Browse files
ChingEnLinclaude
andcommitted
ci(backend): ignore queryargus submodule tests during pytest collection
The submodule's tests require extras (azure-*, typer) that CI deliberately skips via `pip install --no-deps -e ./queryargus`, so collecting them fails on CI. Add `--ignore=queryargus` so pytest only walks the BFF's own tests. The submodule has its own CI; we don't need to re-run those tests here. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d4ca8ab commit 616d538

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

backend/pytest.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ testpaths = tests
33
python_files = test_*.py
44
python_classes = Test*
55
python_functions = test_*
6-
addopts =
6+
addopts =
77
--strict-markers
88
--strict-config
99
--verbose
@@ -12,6 +12,7 @@ addopts =
1212
--cov-report=html
1313
--cov-exclude=tests/*
1414
--cov-exclude=queryargus/*
15+
--ignore=queryargus
1516
markers =
1617
unit: Unit tests
1718
integration: Integration tests

0 commit comments

Comments
 (0)