Skip to content

ci: make integration tests a mandatory pipeline gate; correct docs - #45

Merged
ldastey-dev merged 1 commit into
masterfrom
chore/mandatory-integration-tests
Aug 2, 2026
Merged

ci: make integration tests a mandatory pipeline gate; correct docs#45
ldastey-dev merged 1 commit into
masterfrom
chore/mandatory-integration-tests

Conversation

@ldastey-dev

Copy link
Copy Markdown
Owner

Summary

Makes the integration test suite a permanent, mandatory part of the CI pipeline and corrects out-of-date documentation.

Changes

  • CI (.github/workflows/ci.yml): add a dedicated, required Run integration tests (mandatory gate) step (pytest tests/integration -v) before the combined coverage run, so integration failures unmistakably fail the build and block merge.
  • Docs correction: AGENTS.md previously claimed integration tests "make live calls to api.chess.com" and must "never run in CI without a network." This is inaccurate — every HTTP call in tests/integration/ is mocked with responses and runs fully offline. Updated to reflect reality and codify the mandatory gate.
  • Codified the policy across AGENTS.md, CLAUDE.md, .context/standards/testing.md, and .context/standards/ci-cd.md: integration tests are mocked/offline, always validated, and never skipped.

Validation

  • ruff check . — clean
  • pytest tests/integration — 24 passed
  • Full suite — 296 passed, 96.32% coverage (≥90% gate)

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Add a dedicated, required 'Run integration tests' step to the CI workflow so
integration tests (tests/integration/) are an unmistakable gate that fails the
build if they break, in addition to the combined coverage run.

Correct AGENTS.md: the integration tests are fully mocked with the responses
library and run offline — they do not make live api.chess.com calls. Codify the
mandatory-integration-test policy across AGENTS.md, CLAUDE.md, and the testing /
ci-cd standards so it is always validated and never skipped.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ldastey-dev
ldastey-dev merged commit 0e0e407 into master Aug 2, 2026
5 checks passed
@ldastey-dev
ldastey-dev deleted the chore/mandatory-integration-tests branch August 2, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant