Skip to content

Commit f382402

Browse files
ChingEnLinclaude
andcommitted
ci(backend): pass --ignore=queryargus to pytest directly
The previous pytest.ini change had no effect on CI: pytest 9 (used in CI) doesn't honour the [tool:pytest] section header in pytest.ini — that header is for setup.cfg. Rather than rewriting the ini file and risking side effects on the other (currently silently-ignored) options, set the flag at the workflow level where its effect is explicit. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 616d538 commit f382402

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ jobs:
5858
env:
5959
GEMINI_API_KEY: "dummy-key-for-tests"
6060
run: |
61-
PYTHONPATH=. pytest --cov=. --cov-report=term-missing --cov-report=xml --verbose
61+
# Skip queryargus submodule tests: they need extras (azure-*, typer)
62+
# that we deliberately don't install via `pip install --no-deps`.
63+
PYTHONPATH=. pytest --ignore=queryargus --cov=. --cov-report=term-missing --cov-report=xml --verbose
6264
6365
- name: Upload coverage to Codecov
6466
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)