Skip to content

GEOPY-2769: optional environment parameter for pixi envs [WIP]#164

Open
sebhmg wants to merge 2 commits intomainfrom
seb/GEOPY-2769
Open

GEOPY-2769: optional environment parameter for pixi envs [WIP]#164
sebhmg wants to merge 2 commits intomainfrom
seb/GEOPY-2769

Conversation

@sebhmg
Copy link
Copy Markdown
Contributor

@sebhmg sebhmg commented Apr 17, 2026

PR for testing approach on top of #163

Copilot AI review requested due to automatic review settings April 17, 2026 22:32
@sebhmg sebhmg changed the title geopy 2769 GEOPY-2769: optional environment parameter for pixi envs [WIP] Apr 17, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the reusable GitHub Actions workflows/actions to better support Pixi environment selection and to make the Pytest invocation configurable.

Changes:

  • Add a pixi-environment input to reusable workflows and thread it through to the Pixi setup action.
  • Add a test-cmd input to the reusable Pytest workflow to allow overriding the test command.
  • Update Pixi setup action reference from v3.2 to v3.4.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/reusable-python-static_analysis.yml Adds pixi-environment input and passes it into the Pixi setup action; bumps action ref to v3.4.
.github/workflows/reusable-python-pytest.yml Adds test-cmd and pixi-environment inputs; uses TEST_CMD when running tests; bumps Pixi setup action ref to v3.4.
.github/actions/reusable-python-setup_pixi/action.yml Adds an environment input and uses it to select the Pixi env name when provided.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

description: >
Pixi environment name to install. When provided, takes precedence over
the name derived from python-version (py<version-without-dots>).
required: false
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

New input environment is missing a type: field, while other inputs in this composite action declare one (e.g., python-version, cache-number). Add type: string to keep input metadata consistent and avoid schema/validation drift.

Suggested change
required: false
required: false
type: string

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/reusable-python-pytest.yml
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.

3 participants