Skip to content

feat(CI): Added check for manual tests checkbox#14263

Draft
XrossFox wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
XrossFox:pipeline-disable-and-conthribution-edit
Draft

feat(CI): Added check for manual tests checkbox#14263
XrossFox wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
XrossFox:pipeline-disable-and-conthribution-edit

Conversation

@XrossFox
Copy link
Copy Markdown
Contributor

@XrossFox XrossFox commented Jun 2, 2026

Description

  • Added GitHub Workflow that checks wether a user has performed a manual test.

Fixes b/519321791

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

- Added GitHub Workflow that checks wether a user has
performed a manual test.
@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: workflows Issues related to the Workflows API. labels Jun 2, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the pull request template to recommend running local tests with Python 3.10 instead of Python 3.9. The reviewer recommends keeping the test command set to Python 3.9 to ensure compatibility with the minimum supported Python version and to prevent contributors from introducing incompatible Python 3.10+ features.

- [ ] I have followed [Sample Guidelines from AUTHORING_GUIDE.MD](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md)
- [ ] README is updated to include [all relevant information](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#readme-file)
- [ ] **Tests** pass: `nox -s py-3.9` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#test-environment-setup))
- [ ] **Tests** pass: `nox -s py-3.10` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#test-environment-setup))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

According to the AUTHORING_GUIDE.md (line 112), Python 3.9 is still a supported version ("Samples should support Python 3.9, 3.10, 3.11, 3.12 and 3.13."). Changing the recommended local test command to py-3.10 might lead contributors to use Python 3.10+ features (such as the union operator | for types) that are incompatible with Python 3.9. It is safer to keep the test command as py-3.9 to ensure compatibility with the minimum supported version.

Suggested change
- [ ] **Tests** pass: `nox -s py-3.10` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#test-environment-setup))
- [ ] **Tests** pass: `nox -s py-3.9` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#test-environment-setup))

@XrossFox XrossFox force-pushed the pipeline-disable-and-conthribution-edit branch from dae7310 to c44f868 Compare June 2, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: workflows Issues related to the Workflows API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant