Skip to content

Conversation

@mgarcia01752
Copy link
Member

Ensure pytest installs in macOS CI

  • Require test extras install without ignoring failures

Ensure pytest installs in macOS CI
- Require test extras install without ignoring failures
Copilot AI review requested due to automatic review settings January 26, 2026 01:23
@mgarcia01752 mgarcia01752 merged commit b2adc7a into main Jan 26, 2026
5 of 8 checks passed
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a51c2b896e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

run: |
python -m pip install -e .
python -m pip install -e ".[test]" || true
python -m pip install -e ".[test]"

Choose a reason for hiding this comment

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

P1 Badge Avoid failing CI on undefined test extra

This now fails the macOS workflow because pyproject.toml defines only dev and docs under [project.optional-dependencies] (no test extra). With || true removed, pip install -e ".[test]" will exit non‑zero on every run, stopping the job before tests. If the intent is to install pytest, this should use the existing .[dev] extra or add a test extra to pyproject.toml.

Useful? React with 👍 / 👎.

Copy link

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 removes the || true suffix from the pip install command for test dependencies in the macOS CI workflow, ensuring that failures during test dependency installation will cause the CI step to fail rather than being silently ignored.

Changes:

  • Removed || true from the test dependencies installation command to enforce proper installation

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

run: |
python -m pip install -e .
python -m pip install -e ".[test]" || true
python -m pip install -e ".[test]"
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

The extras group "test" does not exist in pyproject.toml. The available extras are "dev", "docs", and "reports". Since the workflow runs pytest, this should likely be changed to ".[dev]" to install pytest and related testing dependencies, matching the pattern used in daily-build.yml workflow.

Suggested change
python -m pip install -e ".[test]"
python -m pip install -e ".[dev]"

Copilot uses AI. Check for mistakes.
@mgarcia01752 mgarcia01752 deleted the mgarcia01752-patch-1 branch January 26, 2026 04:14
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