We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34aa8f7 commit 4c6fd51Copy full SHA for 4c6fd51
.github/workflows/build-python.yml
@@ -63,8 +63,33 @@ jobs:
63
- name: "Install wheel"
64
run: ${PYBIN}/pip install ./dist/*.whl
65
66
+ - name: "Install Redis"
67
+ run: |
68
+ yum install -y epel-release
69
+ yum install -y redis
70
+
71
+ - name: "Start Redis"
72
73
+ redis-server --daemonize yes
74
75
+ - name: "Wait for Redis to be ready"
76
77
+ for i in {1..10}; do
78
+ if docker exec redis redis-cli ping | grep -q PONG; then
79
+ echo "Redis is ready"
80
+ break
81
+ fi
82
+ echo "Waiting for Redis..."
83
+ sleep 1
84
+ done
85
86
- name: "Run tests"
87
run: ${PYBIN}/python -m unittest -v
88
+ env:
89
+ REDIS_URL: redis://localhost:6379
90
91
+ #- name: "Run tests"
92
+ # run: ${PYBIN}/python -m unittest -v
93
94
build-macos:
95
name: "Build and test macOS"
0 commit comments