From c4566cdbc527408a77ccce28964b2e9c94f0793d Mon Sep 17 00:00:00 2001 From: Yaroslav Lobankov Date: Mon, 18 Mar 2024 23:18:32 +0400 Subject: [PATCH] ci: fix etcd tests in reusable-backend-test.yml (#2202) After commit 01e0d20 ("Use common etcd action instead of local (#2196)") etcd related tests started to fail. This patch fixes the issue. --- .github/workflows/reusable-backend-test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reusable-backend-test.yml b/.github/workflows/reusable-backend-test.yml index ca3e927f5..12e446071 100644 --- a/.github/workflows/reusable-backend-test.yml +++ b/.github/workflows/reusable-backend-test.yml @@ -13,7 +13,7 @@ env: # Skip building frontend in `tarantoolctl rocks make`. CMAKE_DUMMY_WEBUI: true # Prerequisite for some etcd-related tests. - ETCD_PATH: etcd-v2.3.8/etcd + ETCD_VERSION: v2.3.8 jobs: run_tests: @@ -37,8 +37,8 @@ jobs: - name: Set up etcd uses: tarantool/actions/setup-etcd@master with: - version: v2.3.8 - install-prefix: etcd-v2.3.8 + version: ${{ env.ETCD_VERSION }} + install-prefix: etcd-${{ env.ETCD_VERSION }} # Setup luatest - name: 'Install luatest' @@ -65,6 +65,8 @@ jobs: # Run tests - name: 'Run luatest' run: .rocks/bin/luatest -v -b + env: + ETCD_PATH: etcd-${{ env.ETCD_VERSION }}/etcd - name: 'Run pytest' run: | source ./pytest-venv/bin/activate