Skip to content

Test#50

Open
sandraromanchenko wants to merge 4 commits into
cloudbees-oss:mainfrom
sandraromanchenko:test
Open

Test#50
sandraromanchenko wants to merge 4 commits into
cloudbees-oss:mainfrom
sandraromanchenko:test

Conversation

@sandraromanchenko
Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings March 11, 2026 11:53
Copy link
Copy Markdown

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

Adds Python tooling to the pre-merge GitHub Actions workflow to support installing the Smart Tests CLI alongside the existing Java/Maven build.

Changes:

  • Add actions/setup-python@v5 with Python 3.13 to the pre-merge workflow
  • Install smart-tests-cli via pip

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

You can also share your feedback on Copilot code review. Take the survey.

with:
python-version: '3.13'
- name: Install Smart Tests CLI
run: pip install --user --upgrade smart-tests-cli~=2.0
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

pip install --user installs console scripts (e.g., smart-tests) into the user bin dir (typically ~/.local/bin), which may not be on PATH for subsequent steps. To avoid flaky “command not found” issues, either install without --user (using the toolcache Python from actions/setup-python) and run via python -m pip ..., or explicitly add the user bin directory to GITHUB_PATH before invoking the CLI.

Suggested change
run: pip install --user --upgrade smart-tests-cli~=2.0
run: python -m pip install --upgrade smart-tests-cli~=2.0

Copilot uses AI. Check for mistakes.
Comment on lines +23 to +24
- name: Install Smart Tests CLI
run: pip install --user --upgrade smart-tests-cli~=2.0
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

The workflow installs smart-tests-cli but never invokes smart-tests (only mvn compile/mvn test). If the CLI isn’t needed yet, consider removing this install step to keep CI faster; if it is needed, consider adding the intended smart-tests ... step(s) in the same PR so the dependency is justified.

Suggested change
- name: Install Smart Tests CLI
run: pip install --user --upgrade smart-tests-cli~=2.0

Copilot uses AI. Check for mistakes.
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