diff --git a/.github/workflows/reusable_test.yml b/.github/workflows/reusable_test.yml index 193114c..ad2e688 100644 --- a/.github/workflows/reusable_test.yml +++ b/.github/workflows/reusable_test.yml @@ -31,6 +31,12 @@ jobs: sudo dpkg -i tarantool_*.deb tarantool-common_*.deb tarantool-dev_*.deb tarantool --version + - name: Setup tt + run: | + curl -L https://tarantool.io/release/2/installer.sh | sudo bash + sudo apt install -y tt + tt version + - name: Install requirements run: ./deps.sh diff --git a/deps.sh b/deps.sh index d792b10..dbc2f22 100755 --- a/deps.sh +++ b/deps.sh @@ -3,10 +3,11 @@ set -e +TTCTL=tt + if ! [ -x "$(command -v tt)" ]; then - TTCTL=tarantoolctl -else - TTCTL=tt + echo "error: tt is not found" >&2 + exit 1 fi # Test dependencies: