trying to fix tests run
This commit is contained in:
parent
9ecec6495a
commit
47c07c442a
12
.github/workflows/build.yaml
vendored
12
.github/workflows/build.yaml
vendored
@ -9,15 +9,6 @@ jobs:
|
|||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
services:
|
|
||||||
redis:
|
|
||||||
image: redis
|
|
||||||
options: >-
|
|
||||||
--health-cmd "redis-cli ping"
|
|
||||||
--health-interval 10s
|
|
||||||
--health-timeout 5s
|
|
||||||
--health-retries 5
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -37,6 +28,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
REDIS_URL: redis://redis:6379/0
|
REDIS_URL: redis://redis:6379/0
|
||||||
run: |
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y redis-server
|
||||||
|
service redis-server start
|
||||||
python manage.py collectstatic --noinput
|
python manage.py collectstatic --noinput
|
||||||
python manage.py migrate --noinput
|
python manage.py migrate --noinput
|
||||||
python manage.py test --noinput
|
python manage.py test --noinput
|
||||||
|
Loading…
Reference in New Issue
Block a user