Skip to content

Commit dbf4179

Browse files
committed
CI: set up Redis using GH actions in other workflows
1 parent 663cba5 commit dbf4179

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ jobs:
1717
uses: actions/setup-python@v2
1818
with:
1919
python-version: ${{ matrix.python-version }}
20+
- uses: shogo82148/actions-setup-redis@v1
21+
with:
22+
redis-version: "7.x"
2023
- name: Install dependencies
2124
run: |
22-
sudo apt install redis
25+
# sudo apt install redis
2326
2427
# These packages are installed in the base environment but may be older
2528
# versions. Explicitly upgrade them because they often create

.github/workflows/docs_publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ jobs:
2222
uses: actions/setup-python@v2
2323
with:
2424
python-version: ${{ matrix.python-version }}
25+
- uses: shogo82148/actions-setup-redis@v1
26+
with:
27+
redis-version: "7.x"
2528
- name: Install dependencies
2629
run: |
27-
sudo apt install redis
30+
# sudo apt install redis
2831
2932
# Versioneer uses the most recent git tag to generate __version__, which appears
3033
# in the published documentation.

0 commit comments

Comments
 (0)