Merge pull request #3130 from openSUSE/fix_ci
Install docker-compose before running it
This commit is contained in:
commit
315454a407
10
.github/workflows/ci-test.yml
vendored
10
.github/workflows/ci-test.yml
vendored
@ -24,6 +24,11 @@ jobs:
|
|||||||
- name: Setup path
|
- name: Setup path
|
||||||
run: sed -i -e "s,../..:,$PWD:," dist/ci/docker-compose.yml
|
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
|
- name: Run tests
|
||||||
run: docker-compose -f dist/ci/docker-compose.yml run test
|
run: docker-compose -f dist/ci/docker-compose.yml run test
|
||||||
env:
|
env:
|
||||||
@ -88,6 +93,11 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: install docker-compose
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y docker-compose
|
||||||
|
|
||||||
- name: Validate gocd config
|
- name: Validate gocd config
|
||||||
run: cd gocd && sh generate.sh && git diff --exit-code
|
run: cd gocd && sh generate.sh && git diff --exit-code
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user