From 9a15a5562685ee1d756af9eec43bb0ffafed7fec Mon Sep 17 00:00:00 2001 From: igorcoding Date: Sun, 5 May 2024 17:00:12 +0300 Subject: [PATCH] try to refactor tarantool installation --- .github/workflows/actions.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml index fcb88a6..fe7aeae 100644 --- a/.github/workflows/actions.yaml +++ b/.github/workflows/actions.yaml @@ -29,17 +29,17 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Install Tarantool ${{ matrix.tarantool }} + + - name: Install Tarantool ${{ matrix.tarantool }} on Ubuntu + if: matrix.os == 'ubuntu-latest' run: | - if [ "$RUNNER_OS" == "Linux" ]; then - curl -L https://tarantool.io/nTmSHOX/release/${{ matrix.tarantool }}/installer.sh | bash - sudo apt-get -y install tarantool - elif [ "$RUNNER_OS" == "macOS" ]; then - brew install tarantool - else - echo "$RUNNER_OS not supported" - exit 1 - fi + curl -L https://tarantool.io/nTmSHOX/release/${{ matrix.tarantool }}/installer.sh | bash + sudo apt-get -y install tarantool + + - name: Install Tarantool ${{ matrix.tarantool }} on MacOS + if: matrix.os == 'macos-latest' + run: brew install tarantool + - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel coveralls