mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix: 💚 Add Redis to GitHub tester
This commit is contained in:
parent
c899f12893
commit
fb9a0feac8
1
.github/config.workflow.toml
vendored
1
.github/config.workflow.toml
vendored
|
|
@ -10,7 +10,6 @@ host = "localhost"
|
||||||
port = 6379
|
port = 6379
|
||||||
password = ""
|
password = ""
|
||||||
database = 0
|
database = 0
|
||||||
enabled = false
|
|
||||||
|
|
||||||
[redis.cache]
|
[redis.cache]
|
||||||
host = "localhost"
|
host = "localhost"
|
||||||
|
|
|
||||||
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
|
@ -25,6 +25,14 @@ jobs:
|
||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
redis:
|
||||||
|
image: redis:latest
|
||||||
|
ports:
|
||||||
|
- 6379:6379
|
||||||
|
options: --health-cmd "redis-cli ping"
|
||||||
|
--health-interval 10s
|
||||||
|
--health-timeout 5s
|
||||||
|
--health-retries 5
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
security-events: write
|
security-events: write
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue