Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add test setup with cloud-tasks-emulator #53

Closed
wants to merge 33 commits into from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Test Setup with Cloud Tasks Emulator

This PR adds a comprehensive test setup for the fastapi-gcp-tasks framework including:

  • Test infrastructure with pytest and cloud-tasks-emulator
  • Documentation for running tests locally
  • GitHub Actions automation for CI

Testing Instructions

  1. Install dependencies:
poetry install --with test
  1. Start cloud-tasks-emulator:
cloud-tasks-emulator
  1. Run tests:
poetry run pytest

See docs/tests.md for detailed testing instructions and environment setup.

Changes

  • Added test dependencies to pyproject.toml
  • Created test documentation in docs/tests.md
  • Added test fixtures and utility functions
  • Created core test files for delayed and scheduled tasks
  • Added GitHub Actions workflow for automated testing

Link to Devin run: https://app.devin.ai/sessions/f8695e1672814f9a8cbe216c701d7658

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Comment on lines 5 to 7
branches: [ main ]
pull_request:
branches: [ main ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the branch name is master

devin-ai-integration bot and others added 22 commits February 8, 2025 05:18
Co-Authored-By: Rushil Srivastava <[email protected]>
Copy link
Contributor Author

Closing due to inactivity.

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