Skip to content

updates to makefile & ci configuration#115

Merged
hownowstephen merged 2 commits intomainfrom
ci-fixes
May 5, 2026
Merged

updates to makefile & ci configuration#115
hownowstephen merged 2 commits intomainfrom
ci-fixes

Conversation

@hownowstephen
Copy link
Copy Markdown
Contributor

@hownowstephen hownowstephen commented May 5, 2026

Ensure that our workflows run in the proper context & clean up the makefile to explicitly use python3


Note

Low Risk
Low risk: CI trigger change and Makefile command normalization only; main impact is when tests run and which Python executable is used.

Overview
Expands the GitHub Actions workflow triggers to run on pull_request and manual workflow_dispatch events (in addition to push).

Updates the Makefile to use a configurable PYTHON variable (defaulting to python3) for build, install, clean, dev, and test commands to avoid relying on python being present.

Reviewed by Cursor Bugbot for commit 9107693. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9107693. Configure here.

Comment thread Makefile
if ! pip uninstall customerio; then echo "customerio not installed, installing it for the first time" ; fi
pip install dist/*
python -i -c "from customerio import *"
$(PYTHON) -i -c "from customerio import *"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Incomplete migration to PYTHON variable in upload target

Low Severity

The upload target still uses a hardcoded python on line 20 (python setup.py register) instead of $(PYTHON). Every other target was migrated to $(PYTHON), which defaults to python3. This inconsistency means the upload target may invoke a different Python interpreter (or fail entirely on systems where bare python is unavailable).

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9107693. Configure here.

Comment thread Makefile Outdated
$(PYTHON) -i -c "from customerio import *"

upload:
python setup.py register
Copy link
Copy Markdown

@aleclerc-cio aleclerc-cio May 5, 2026

Choose a reason for hiding this comment

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

cursor bot above seems to be correct. This one should also be updated I think.

Copy link
Copy Markdown

@aleclerc-cio aleclerc-cio left a comment

Choose a reason for hiding this comment

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

lgtm! small addition above but approved anyway.

@hownowstephen hownowstephen merged commit c3a2d5f into main May 5, 2026
12 checks passed
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