Skip to content

Commit

Permalink
ci: add tarantool 3.0 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
psergee committed Nov 8, 2023
1 parent 2aa4ebe commit 0ca3781
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
17 changes: 16 additions & 1 deletion .github/actions/prepare-ce-test-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,26 @@ runs:
shell: bash

- name: Install Tarantool
if: |
inputs.skip-tarantool-install == 'false' &&
!startsWith(inputs.tarantool-version, '3.')
uses: tarantool/setup-tarantool@v1
if: ${{ inputs.skip-tarantool-install == 'false' }}
with:
tarantool-version: '${{ inputs.tarantool-version }}'

# Here is a workaround for Tarantool 3.0 installation until it is supported
# by setup-tarantool. This step will install the latest pre-released
# Tarantool 3.0 from repository.
- name: Install Tarantool from repo
if: |
inputs.skip-tarantool-install == 'false' &&
startsWith(inputs.tarantool-version, '3.')
run: |
sudo curl -L https://tarantool.io/iqJapRm/release/3/installer.sh | \
sed 's|repo_type="release"|repo_type="pre-release"|' | bash
sudo apt install tarantool tarantool-dev
shell: bash

- name: Install etcd
uses: ./.github/actions/setup-etcd
if: ${{ inputs.skip-etcd-install == 'false' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/full-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
tarantool-version: ["1.10", "2.10"]
tarantool-version: ["1.10", "2.10", "3.0"]
fail-fast: false
steps:
- uses: actions/checkout@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
tarantool-version: ["1.10", "2.10"]
tarantool-version: ["1.10", "2.10", "3.0"]
fail-fast: false
steps:
- uses: actions/checkout@master
Expand Down

0 comments on commit 0ca3781

Please sign in to comment.