Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
Fix cross-platform test-install with setup-uv action
trohitg30484bc214bc
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.ymlindex 385b33bb..8cff95d9 100644--- a/.github/actions/setup/action.yml+++ b/.github/actions/setup/action.yml@@ -45,5 +45,4 @@ runs:go-version: ${{ inputs.go-version }}- name: Install uv- shell: bash- run: curl -LsSf https://astral.sh/uv/install.sh | sh && echo "$HOME/.cargo/bin" >> $GITHUB_PATH+ uses: astral-sh/setup-uv@v4diff --git a/.github/workflows/predeploy.yml b/.github/workflows/predeploy.ymlindex e039aae6..9360cbe6 100644--- a/.github/workflows/predeploy.yml+++ b/.github/workflows/predeploy.yml@@ -110,22 +110,17 @@ jobs:- name: Checkoutuses: actions/checkout@v4- - name: Setup Node.js ${{ matrix.node-version }}- uses: actions/setup-node@v4+ # Setup Python and uv (postinstall.js skips in CI, so these must be pre-installed)+ - name: Setup environment+ uses: ./.github/actions/setupwith:node-version: ${{ matrix.node-version }}- # Python and uv are NOT pre-installed - install.js handles them- # This tests the real user experience of `npm install -g machinaos`-- name: Pack npm packagerun: npm pack- name: Test global installshell: bash- env:- CI: 'false'- GITHUB_ACTIONS: 'false'run: |npm install -g machinaos-*.tgz@@ -142,18 +137,13 @@ jobs:test -d "$INSTALL_PATH/client" && echo "client/ exists"test -d "$INSTALL_PATH/server" && echo "server/ exists"- - name: Verify Python environment+ - name: Setup Python venvshell: bashrun: |INSTALL_PATH=$(npm root -g)/machinaoscd "$INSTALL_PATH/server"-- if [ -d ".venv" ]; then- echo "Python venv created successfully"- ls -la .venv/bin 2>/dev/null || ls -la .venv/Scripts 2>/dev/null- else- echo "Warning: .venv not found"- fi+ uv venv+ uv sync- name: Verify client buildshell: bash