Skip to content

feat: Add test for requirements.sh in cli_deploy - #1

Merged
runa merged 1 commit into
mainfrom
test-requirements-sh
Jun 19, 2025
Merged

runa merged 1 commit into
mainfrom
test-requirements-sh

Conversation

@runa

@runa runa commented Jun 19, 2025

Copy link
Copy Markdown
Owner

This commit introduces a new test case for the to_cloud_run function in cli_deploy.py.

The new test, test_to_cloud_run_with_requirements_sh, specifically verifies that if a requirements.sh file is present in my source directory, the generated Dockerfile includes a command to execute this script.

The agent_dir fixture has been updated to support the creation of a dummy requirements.sh file for testing purposes.

This commit introduces a new test case for the `to_cloud_run` function in `cli_deploy.py`.

The new test, `test_to_cloud_run_with_requirements_sh`, specifically verifies that if a `requirements.sh` file is present in my source directory, the generated Dockerfile includes a command to execute this script.

The `agent_dir` fixture has been updated to support the creation of a dummy `requirements.sh` file for testing purposes.
@runa
runa merged commit 729eb59 into main Jun 19, 2025
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