Skip to content

[WIP] Update Android Tests workflow to install Colima on macOS - #735

Closed
bennycode with Copilot wants to merge 1 commit into
mainfrom
copilot/install-and-start-colima
Closed

bennycode with Copilot wants to merge 1 commit into
mainfrom
copilot/install-and-start-colima

Conversation

Copilot AI commented Oct 17, 2025

Copy link
Copy Markdown

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

Failure: The Android Tests job is failing with "colima: command not found" when running the macOS runner. See job logs (ref: f1491a2) showing the error:

/Users/runner/work/_temp/d395aecf-e556-41af-91d7-37cb50fb8c71.sh: line 1: colima: command not found
Process completed with exit code 127.

Problem: The workflow .github/workflows/androidTests.yml invokes the colima CLI on macOS runners but does not ensure Colima is installed and started. GitHub macOS runners include Homebrew, so we can install Colima at runtime.

Required change: Update .github/workflows/androidTests.yml to install and start Colima on macOS runners before any step that uses it.

Concrete patch (add a new step near the start of the job, before colima is used). Insert the following YAML into the job steps (place it immediately after checkout and before steps that reference colima):

  • name: Install and start Colima (macOS)
    if: runner.os == 'macOS'
    run: |
    brew update
    brew install colima

    start colima (ignore error if already running)

    colima start --cpu 2 --memory 4096 --disk 60 || true

Rationale:

  • Ensures colima binary is present in PATH on macOS runners and avoids the "command not found" failure.
  • Starts the Colima VM with reasonable defaults for the Android tests environment.

Notes:

  • The step is guarded with if: runner.os == 'macOS' to avoid running on Linux/Windows runners.
  • If the workflow already installs Colima in another place, remove duplicate steps to avoid redundant installs.

Please create a pull request that updates .github/workflows/androidTests.yml with the above change and include a short PR description referencing the failing run (ref: f1491a2) and the error message.

This pull request was created as a result of the following prompt from Copilot chat.

Failure: The Android Tests job is failing with "colima: command not found" when running the macOS runner. See job logs (ref: f1491a2) showing the error:

/Users/runner/work/_temp/d395aecf-e556-41af-91d7-37cb50fb8c71.sh: line 1: colima: command not found
Process completed with exit code 127.

Problem: The workflow .github/workflows/androidTests.yml invokes the colima CLI on macOS runners but does not ensure Colima is installed and started. GitHub macOS runners include Homebrew, so we can install Colima at runtime.

Required change: Update .github/workflows/androidTests.yml to install and start Colima on macOS runners before any step that uses it.

Concrete patch (add a new step near the start of the job, before colima is used). Insert the following YAML into the job steps (place it immediately after checkout and before steps that reference colima):

  • name: Install and start Colima (macOS)
    if: runner.os == 'macOS'
    run: |
    brew update
    brew install colima

    start colima (ignore error if already running)

    colima start --cpu 2 --memory 4096 --disk 60 || true

Rationale:

  • Ensures colima binary is present in PATH on macOS runners and avoids the "command not found" failure.
  • Starts the Colima VM with reasonable defaults for the Android tests environment.

Notes:

  • The step is guarded with if: runner.os == 'macOS' to avoid running on Linux/Windows runners.
  • If the workflow already installs Colima in another place, remove duplicate steps to avoid redundant installs.

Please create a pull request that updates .github/workflows/androidTests.yml with the above change and include a short PR description referencing the failing run (ref: f1491a2) and the error message.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@changeset-bot

changeset-bot Bot commented Oct 17, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 1ec7411

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@macroscopeapp

macroscopeapp Bot commented Oct 17, 2025

Copy link
Copy Markdown

Modify Android Tests GitHub Actions workflow file whitespace for macOS Colima installation in workflow YAML

The pull request updates whitespace-only changes within the Android Tests GitHub Actions workflow that includes steps for installing Colima on macOS. The modifications adjust blank lines without altering any commands, environment variables, or job configurations in the workflow file. See android-tests.yml.

📍Where to Start

Start with the Android Tests workflow YAML to review whitespace changes in android-tests.yml.


Macroscope summarized 1ec7411.

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