MINOR: Install docker-compose on docker-build workflows (#18037)

Docker tests rely on docker compose. In recent runs it has been observed that github actions does not provide support for docker compose, so we are installing it explicitly in the workflow.
This commit is contained in:
Vedarth Sharma 2024-12-04 22:01:05 +05:30 committed by GitHub
parent 423a6353a8
commit f80e726e9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r docker/requirements.txt pip install -r docker/requirements.txt
pip install --upgrade --force-reinstall --no-cache-dir docker-compose && ln -sf /usr/local/bin/docker-compose /usr/bin/docker-compose
- name: Build image and run tests - name: Build image and run tests
working-directory: ./docker working-directory: ./docker
env: env:

View File

@ -40,6 +40,7 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r docker/requirements.txt pip install -r docker/requirements.txt
pip install --upgrade --force-reinstall --no-cache-dir docker-compose && ln -sf /usr/local/bin/docker-compose /usr/bin/docker-compose
- name: Build image and run tests - name: Build image and run tests
working-directory: ./docker working-directory: ./docker
env: env: