ci: add backend tests to pull requests (#202)
* ci: add backend tests to pull requests
- runs pytest on PRs with backend changes
- uses postgres service container for test database
- only triggers when backend code, tests, or dependencies change
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: also trigger tests on workflow changes
* test: fix import paths and suppress logfire warnings
- update all imports to backend._internal.atproto.records
- mock R2Storage in refcount test to avoid credential requirements
- skip R2 upload test in CI (requires credentials and data directory)
- suppress logfire warnings in test env
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: optimize test workflow for performance
- use setup-python for faster Python availability (uses GitHub's cache)
- add --locked flag to uv sync to skip resolver
- these changes should significantly speed up CI test runs
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
authored by
zzstoatzz.io
Claude
and committed by
GitHub
018e0bcd
208d8ebf