Skip to content

docs: update CI/CD processes and PR guidelines to resolve #2578 - #2850

Open
Jamessshhh wants to merge 6 commits into
gee-community:masterfrom
Jamessshhh:update-contributing-2578
Open

Jamessshhh wants to merge 6 commits into
gee-community:masterfrom
Jamessshhh:update-contributing-2578

Conversation

@Jamessshhh

Copy link
Copy Markdown

Description

This PR resolves issue #2578 by updating the docs/contributing.md file to clearly outline the repository's current checks, processes, and PR requirements.

Changes included:

  • Local Testing: Expanded step 5 to explicitly include commands for running linters (flake8), the test suite (pytest), and multi-version testing (tox).
  • PR Guidelines & CI/CD: Added a dedicated section detailing expectations for automated checks (GitHub Actions), Python compatibility, required test coverage, documentation updates, and PR structure.

This should make the contribution workflow much clearer for new developers and help keep the automated pipelines passing.

Copilot AI lite review requested due to automatic review settings August 5, 2026 10:28

Copilot AI left a comment

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.

🟡 Changes recommended

The updated contributor instructions reference pytest and tox, but the repository appears to use unittest and lacks tox configuration, making the guidance inaccurate and likely to fail for contributors.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

This PR updates docs/contributing.md to better document the project’s contributor workflow, including local checks to run before submitting a PR and a clearer set of PR/CI expectations.

Changes:

  • Expands the “local testing” step to include explicit commands for linting and running the test suite.
  • Adds a consolidated “Pull Request Guidelines and CI/CD Checks” section describing expectations for CI, Python version support, testing, docs, and PR structure.
File summaries
File Description
docs/contributing.md Updates contributor instructions and adds a CI/CD + PR expectations section to clarify contribution workflow and requirements.
Review details

Suppressed comments (1)

docs/contributing.md:119

  • The test guidance here references pytest, but the current test suite uses unittest (and CI runs via python -m unittest discover). Updating this avoids sending contributors toward a test framework the project doesn’t currently use.
* **Include Tests:** If you are adding a new feature or fixing a bug, include the corresponding `pytest` functions in the `tests/` directory.
* **Reproducibility:** Ensure your tests can be run locally by anyone replicating your environment.
  • Files reviewed: 1/1 changed files
  • Comments generated: 3
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Comment thread docs/contributing.md Outdated
Comment on lines +90 to +93
*(Optional but recommended)* Test across multiple Python versions using tox:
```bash
tox
```
Comment thread docs/contributing.md
Comment thread docs/contributing.md
Comment on lines +85 to 88
Run the test suite to ensure no existing features are broken:
```bash
pytest
```
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