forked from tarantool/tarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (44 loc) · 1.46 KB
/
etcd_integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: etcd_integration
on:
workflow_call:
inputs:
artifact_name:
description: The name of the tarantool build artifact
default: ubuntu-focal
required: false
type: string
jobs:
run_tests:
runs-on: ubuntu-20.04
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
# To track supported versions, visit https://endoflife.date/etcd site.
etcd-version: [ 'v3.4.30', 'v3.5.12' ]
steps:
- name: Check out the etcd-client module
uses: actions/checkout@v4
with:
repository: ${{ github.repository_owner }}/etcd-client
token: ${{ secrets.PRIVATE_REPO_ACCESS_TOKEN }}
- name: Download the tarantool build artifact
uses: actions/download-artifact@v4
with:
name: ${{ inputs.artifact_name }}
- name: Install tarantool
# Now we're lucky: all dependencies are already installed. Check package
# dependencies when migrating to other OS version.
run: sudo dpkg -i tarantool*.deb
- name: Setup etcd ${{ matrix.etcd-version }}
uses: tarantool/actions/setup-etcd@master
with:
version: ${{ matrix.etcd-version }}
- name: Setup tt
run: |
curl -L https://tarantool.io/release/3/installer.sh | bash
sudo apt-get -y install tt
- name: Setup luatest
run: tt rocks install luatest 1.0.1
- name: Run tests
run: make test