CI: launch redis early

This commit is contained in:
realaravinth
2021-06-11 19:47:49 +05:30
parent 086dd85a83
commit dc53cd76d4
4 changed files with 7 additions and 8 deletions

View File

@@ -50,6 +50,9 @@ jobs:
with:
node-version: '14.x'
- name: run mcaptcha cache redis instance
run: docker run -d -p 6379:6379 mcaptcha/cache
- name: Install JavaScript Dependencies
run: yarn install
@@ -79,9 +82,6 @@ jobs:
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/postgres
- name: run mcaptcha cache redis instance
run: docker run -d -p 6379:6379 mcaptcha/cache
- name: tests
uses: actions-rs/cargo@v1
timeout-minutes: 40