Skip to content

ci: gitignore .pytest_cache/ + consolidate pytest into the jsonschema install#47

Merged
rafael5 merged 1 commit into
mainfrom
ci-pytest-hygiene
May 12, 2026
Merged

ci: gitignore .pytest_cache/ + consolidate pytest into the jsonschema install#47
rafael5 merged 1 commit into
mainfrom
ci-pytest-hygiene

Conversation

@rafael5
Copy link
Copy Markdown
Contributor

@rafael5 rafael5 commented May 12, 2026

Summary

Two small CI hygiene fixes from the .gitignore/Makefile/workflows audit earlier in the 2026-05-12 session.

  • .gitignore — add `.pytest_cache/` explicitly. Today it's silently ignored only because pytest auto-generates `.pytest_cache/.gitignore` with `*`. Listing it at the top level matches the convention every other Python repo follows and stops a future maintainer wondering why the dir survives a clean clone.

  • .github/workflows/ci.yml — fold `pytest` into the existing `pip install` step instead of installing it inline from the test-run step. One install instead of two; identical behavior. No functional change to CI gating.

Test plan

  • CI green — same gates run, just installed differently

🤖 Generated with Claude Code

… install

Two small CI hygiene fixes from the .gitignore/Makefile/workflows
audit earlier in the 2026-05-12 session.

- .gitignore: add `.pytest_cache/` explicitly. Today it's silently
  ignored only because pytest auto-generates `.pytest_cache/.gitignore`
  with `*`. Listing it at the top level matches the convention every
  other Python repo follows and stops a future maintainer wondering
  why the dir survives a clean clone.

- .github/workflows/ci.yml: fold `pytest` into the existing
  `pip install` step instead of installing it inline from the
  test-run step. One install instead of two; identical behavior.
  No functional change to CI gating.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rafael5 rafael5 merged commit 39f9bd8 into main May 12, 2026
2 checks passed
@rafael5 rafael5 deleted the ci-pytest-hygiene branch May 12, 2026 14:16
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