Skip to content

ci: run the example backend pytest suite on PRs and master - #85

Open
Herklos wants to merge 2 commits into
masterfrom
cursor/example-backend-pytest-ci-d1be
Open

Herklos wants to merge 2 commits into
masterfrom
cursor/example-backend-pytest-ci-d1be

Conversation

@Herklos

@Herklos Herklos commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a GitHub Actions workflow that runs the chat example backend's pytest suite (examples/app/backend/tests).

  • Triggers on pull_request and on pushes to master.
  • Runs uv run --python 3.12 pytest tests/ -v from examples/app/backend. The dev test dependencies come from the project's dependency group, which uv run includes by default.
  • Job fails when any test fails, and has a 10 minute timeout. The local suite takes about 20 seconds.
  • The existing PyPI, npm, and docs deploy workflows are unchanged.
  • Adds a CHANGELOG entry under the current version.

Current status of CI

On master the job is red. Four tests in examples/app/backend/tests/test_edge.py are stale and fail against the current server behavior. This is expected, and the job is working as intended: it shows the failures.

This PR should merge after #80, which updates those four tests. With #80's test file applied locally, the suite passes (121 tests).

Testing

Open in Web Open in Cursor 

cursoragent and others added 2 commits October 13, 2026 13:09
Co-authored-by: herklos.dev <herklos.dev@protonmail.com>
Co-authored-by: herklos.dev <herklos.dev@protonmail.com>
@Herklos Herklos self-assigned this Oct 13, 2026

This branch has not been deployed

No deployments
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.

2 participants