test実行時にDBとかredisとか動かすように

This commit is contained in:
rinsuki 2019-10-25 04:44:49 +09:00
parent 9520322002
commit 29cd17f521
1 changed files with 11 additions and 0 deletions

View File

@ -28,3 +28,14 @@ jobs:
run: yarn build
- name: Test
run: yarn test
services:
postgres:
image: postgres:10-alpine
ports:
- 5432:5432
env:
POSTGRES_DB: test-misskey
redis:
image: redis:alpine
ports:
- 6379:6379