Install docker-compose before running it
some time recently github actions runners seem to have changed to no longer provide docker-compose by default. install it.
This commit is contained in:
parent
9d60e6243f
commit
5b7af6d7be
10
.github/workflows/ci-test.yml
vendored
10
.github/workflows/ci-test.yml
vendored
@ -24,6 +24,11 @@ jobs:
|
||||
- name: Setup path
|
||||
run: sed -i -e "s,../..:,$PWD:," dist/ci/docker-compose.yml
|
||||
|
||||
- name: install docker-compose
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y docker-compose
|
||||
|
||||
- name: Run tests
|
||||
run: docker-compose -f dist/ci/docker-compose.yml run test
|
||||
env:
|
||||
@ -93,6 +98,11 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: install docker-compose
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y docker-compose
|
||||
|
||||
- name: Validate gocd config
|
||||
run: cd gocd && sh generate.sh && git diff --exit-code
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user