-
Notifications
You must be signed in to change notification settings - Fork 8
62 lines (58 loc) · 1.88 KB
/
db-compatibility.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
56
57
58
59
60
61
62
name: DB compatibility testing
on: [push, pull_request]
permissions:
contents: read
jobs:
valkey:
name: Valkey ${{ matrix.valkey-version }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- valkey-version: 8.0.1
- valkey-version: 7.2.5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install redis-cli required by common tests
uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2
with:
packages: redis-server
version: 1.0
- name: Install Erlang/OTP
uses: erlef/setup-beam@5304e04ea2b355f03681464e683d92e3b2f18451 # v1.18.2
with:
otp-version: '26.2.4'
rebar3-version: '3.23.0'
- name: Build and run common tests
env:
REDIS_DOCKER_IMAGE: valkey/valkey:${{ matrix.valkey-version }}
run: |
rebar3 ct
redis:
name: Redis ${{ matrix.redis-version }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- redis-version: 7.2.4 # Last open source release
- redis-version: 7.0.15
- redis-version: 6.2.14
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install redis-cli required by common tests
uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2
with:
packages: redis-server
version: 1.0
- name: Install Erlang/OTP
uses: erlef/setup-beam@5304e04ea2b355f03681464e683d92e3b2f18451 # v1.18.2
with:
otp-version: '26.2.4'
rebar3-version: '3.23.0'
- name: Build and run common tests
env:
REDIS_DOCKER_IMAGE: redis:${{ matrix.redis-version }}
run: |
rebar3 ct