Skip to content

Commit 0ebf3e6

Browse files
committed
add redis to other builds
1 parent a921355 commit 0ebf3e6

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ name: PyPI Publish
1010
jobs:
1111
publish:
1212
runs-on: ubuntu-latest
13+
services:
14+
redis:
15+
image: redis
16+
options: >-
17+
--health-cmd "redis-cli ping"
18+
--health-interval 10s
19+
--health-timeout 5s
20+
--health-retries 5
21+
ports:
22+
- 6379:6379
1323
steps:
1424
- name: Checkout code
1525
uses: actions/checkout@v3

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ jobs:
1313
autorelease:
1414
name: Create Release
1515
runs-on: "ubuntu-latest"
16+
services:
17+
redis:
18+
image: redis
19+
options: >-
20+
--health-cmd "redis-cli ping"
21+
--health-interval 10s
22+
--health-timeout 5s
23+
--health-retries 5
24+
ports:
25+
- 6379:6379
1626
steps:
1727
- uses: actions/checkout@v3
1828
with:

0 commit comments

Comments
 (0)