Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 11, 2025

GitHub Actions runners no longer include docker-compose by default, causing CI failures when attempting to run tests.

Changes

  • Added explicit Docker Compose installation step in .github/workflows/ci.yml after checkout
  • Uses apt-get to install docker-compose package before test execution
steps:
  - name: Checkout the repository
    uses: actions/checkout@v2
  - name: Install Docker Compose
    run: sudo apt-get update && sudo apt-get install -y docker-compose
  - name: Run the tests
    run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --build --exit-code-from ideals-test
Original prompt

The CI workflow fails because the docker-compose command is not available by default on the runner. To fix this, update the .github/workflows/ci.yml workflow so that it explicitly installs Docker Compose before running any docker-compose commands. Specifically, after the checkout step, insert a step that installs Docker Compose via apt in Ubuntu (using sudo apt-get update && sudo apt-get install -y docker-compose).

The fixed steps section should look like this:

steps:
  - name: Checkout the repository
    uses: actions/checkout@v2
  - name: Install Docker Compose
    run: sudo apt-get update && sudo apt-get install -y docker-compose
  - name: Run the tests
    run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --build --exit-code-from ideals-test

Apply this change to .github/workflows/ci.yml at ref f16a8e6432f3b88522f1947d22ed8741465e5b17.

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

The CI workflow fails because the docker-compose command is not available by default on the runner. To fix this, update the .github/workflows/ci.yml workflow so that it explicitly installs Docker Compose before running any docker-compose commands. Specifically, after the checkout step, insert a step that installs Docker Compose via apt in Ubuntu (using sudo apt-get update && sudo apt-get install -y docker-compose).

The fixed steps section should look like this:

steps:
  - name: Checkout the repository
    uses: actions/checkout@v2
  - name: Install Docker Compose
    run: sudo apt-get update && sudo apt-get install -y docker-compose
  - name: Run the tests
    run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --build --exit-code-from ideals-test

Apply this change to .github/workflows/ci.yml at ref f16a8e6432f3b88522f1947d22ed8741465e5b17.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Install Docker Compose explicitly before running tests to ensure the docker-compose command is available on the GitHub Actions runner.

Co-authored-by: srbbins <[email protected]>
Copilot AI changed the title [WIP] Update CI workflow to install Docker Compose Add Docker Compose installation step to CI workflow Dec 11, 2025
Copilot AI requested a review from srbbins December 11, 2025 21:29
@srbbins srbbins marked this pull request as ready for review December 11, 2025 21:41
@srbbins srbbins merged commit 38eb15c into main Dec 11, 2025
0 of 3 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