|
|
@ -56,9 +56,19 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install docker-compose
|
|
|
|
- name: Install docker-compose
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
# sudo apt-get update
|
|
|
|
sudo tee "/usr/local/bin/docker-compose" > /dev/null <<EOF
|
|
|
|
# sudo apt-get install docker-compose
|
|
|
|
#!/bin/bash
|
|
|
|
alias docker-compose='docker compose'
|
|
|
|
|
|
|
|
|
|
|
|
# Check if the user has provided any arguments
|
|
|
|
|
|
|
|
if [ "$#" -eq 0 ]; then
|
|
|
|
|
|
|
|
echo "Usage: docker-compose [OPTIONS] COMMAND [ARGS...]"
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Forward the arguments to 'docker compose'
|
|
|
|
|
|
|
|
docker compose "$@"
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
sudo chmod +x /usr/local/bin/docker-compose
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
- name: Run tests
|
|
|
|
run: make test-server
|
|
|
|
run: make test-server
|
|
|
|