forked from seomoz/qless-core
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 968 Bytes
/
test.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
name: Tests
on:
push:
pull_request:
branches: [master]
jobs:
test:
name: ${{ matrix.redis-version }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
redis-version:
- "redis:5"
- "redis:6"
- "redis:7.0"
- "redis:7.2"
- "redis:7.4"
- "valkey/valkey:7.2"
- "valkey/valkey:8"
services:
redis:
image: ${{ matrix.redis-version }}
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: LizardByte/setup-python-action@master
with:
python-version: "2.7"
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run tests
run: make test