mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Add redis to ci.yml
This commit is contained in:
parent
9f3d496a5c
commit
44da5adbda
2 changed files with 10 additions and 2 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -19,6 +19,11 @@ jobs:
|
|||
- 5432:5432
|
||||
options: --health-cmd="pg_isready" --health-interval=10s --health-timeout=5s --health-retries=3
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
ports:
|
||||
- 6379:6379
|
||||
|
||||
steps:
|
||||
- name: Install packages
|
||||
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable curl libjemalloc2 libvips postgresql-client libpq-dev
|
||||
|
|
@ -47,7 +52,10 @@ jobs:
|
|||
env:
|
||||
RAILS_ENV: test
|
||||
DATABASE_URL: postgres://postgres:postgres@localhost:5432
|
||||
run: bin/rails db:setup spec
|
||||
REDIS_URL: redis://localhost:6379/1
|
||||
run: |
|
||||
bin/rails db:setup
|
||||
bin/rails spec
|
||||
|
||||
- name: Keep screenshots from failed system tests
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
ruby-3.2.3
|
||||
3.2.3
|
||||
|
|
|
|||
Loading…
Reference in a new issue