mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 23:07:28 +08:00
DEV: Use discourse image redis in CI (#14280)
This commit is contained in:
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -28,7 +28,6 @@ jobs:
|
|||||||
build_type: [backend, frontend, annotations]
|
build_type: [backend, frontend, annotations]
|
||||||
target: [core, plugins]
|
target: [core, plugins]
|
||||||
postgres: ["13"]
|
postgres: ["13"]
|
||||||
redis: ["6.x"]
|
|
||||||
exclude:
|
exclude:
|
||||||
- build_type: annotations
|
- build_type: annotations
|
||||||
target: plugins
|
target: plugins
|
||||||
@ -59,10 +58,9 @@ jobs:
|
|||||||
git config --global user.email "ci@ci.invalid"
|
git config --global user.email "ci@ci.invalid"
|
||||||
git config --global user.name "Discourse CI"
|
git config --global user.name "Discourse CI"
|
||||||
|
|
||||||
- name: Setup redis
|
- name: Start redis
|
||||||
uses: shogo82148/actions-setup-redis@v1
|
run: |
|
||||||
with:
|
redis-server /etc/redis/redis.conf &
|
||||||
redis-version: ${{ matrix.redis }}
|
|
||||||
|
|
||||||
- name: Bundler cache
|
- name: Bundler cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
Reference in New Issue
Block a user