Merge pull request #3130 from openSUSE/fix_ci

Install docker-compose before running it
This commit is contained in:
Dirk Mueller 2024-08-06 10:45:46 +02:00 committed by GitHub
commit 315454a407
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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:
@ -88,6 +93,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