Skip to content

Add GitHub Actions workflow for Conda-based Python package - #20

Open
theCreator177 wants to merge 5 commits into
ethanplusai:mainfrom
theCreator177:main
Open

Add GitHub Actions workflow for Conda-based Python package#20
theCreator177 wants to merge 5 commits into
ethanplusai:mainfrom
theCreator177:main

Conversation

@theCreator177

Copy link
Copy Markdown

No description provided.

@theCreator177

Copy link
Copy Markdown
Author

Succuess

theCreator177 and others added 2 commits July 27, 2026 14:09
Adds .cursor/environment.json and an idempotent .cursor/install.sh that
provision the JARVIS/Friday dev environment on a Linux Cloud Agent:
- Python venv + backend deps (requirements.txt) + pytest/pytest-asyncio
- Playwright Chromium for web browsing/research actions
- Frontend deps (npm ci)
- Local TLS certs for the HTTPS backend + secure WebSocket
Defines backend (8340) and frontend (5173) terminals and exposed ports.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Anthony Martinez <theCreator177@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 11, 2026 23:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds CI automation intended to run Python linting/tests in a Conda-based environment, and also introduces editor/dev-environment helper files for Cursor plus a snapshot configuration file.

Changes:

  • Add a GitHub Actions workflow to lint with flake8 and run pytest.
  • Add a Cursor “environment” definition and an idempotent install script for setting up the repo on Ubuntu.
  • Add a .snapshots/config.json configuration file with include/exclude patterns.

Reviewed changes

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

File Description
.github/workflows/python-package-conda.yml New CI workflow intended to set up a Conda-based Python environment and run lint/tests.
.cursor/install.sh New repo setup script (venv, Playwright Chromium, frontend deps, TLS certs).
.cursor/environment.json Cursor environment definition to run backend/frontend terminals and installation.
.snapshots/config.json Snapshot tool configuration defining excluded/included file patterns.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +11 to +34
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file environment.yml --name base
- name: Lint with flake8
run: |
conda install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
conda install pytest
pytest
Comment thread .cursor/install.sh
Comment on lines +20 to +23
if ! python3 -c "import ensurepip" >/dev/null 2>&1; then
sudo apt-get update -qq
sudo apt-get install -y -qq python3-venv
fi
Comment thread .cursor/environment.json
Comment on lines +1 to +5
{
"name": "JARVIS / Friday Voice Assistant",
"user": "ubuntu",
"install": "bash .cursor/install.sh",
"terminals": [
Comment thread .snapshots/config.json
Comment on lines +118 to +149
"*.obj",
"*.lib",
"*.a",
"*.map",
".npmrc"
],
"default": {
"default_prompt": "Enter your prompt here",
"default_include_all_files": false,
"default_include_entire_project_structure": true
},
"included_patterns": [
"build.gradle",
"settings.gradle",
"gradle.properties",
"pom.xml",
"Makefile",
"CMakeLists.txt",
"package.json",
"requirements.txt",
"Pipfile",
"Gemfile",
"composer.json",
".editorconfig",
".eslintrc.json",
".eslintrc.js",
".prettierrc",
".babelrc",
".dockerignore",
".gitattributes",
".stylelintrc",
".npmrc"
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