Skip to content

Commit

Permalink
Install docker-compose before running it
Browse files Browse the repository at this point in the history
some time recently github actions runners seem to have changed to no
longer provide docker-compose by default. install it.
  • Loading branch information
dirkmueller committed Aug 6, 2024
1 parent 9d60e62 commit 5b7af6d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 5b7af6d

Please sign in to comment.