Skip to content

Commit

Permalink
add step to load redis cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Dec 27, 2023
1 parent 0a86c33 commit 685a075
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Check migrations
run: make checkmigration

- name: load redis data
run: make load-redis-index

- name: Run tests
run: make test-coverage

Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ logs:
checkmigration: up
docker compose exec backend bash -c "python manage.py makemigrations --check --dry-run"

load-redis-index: up
docker compose exec backend bash -c "python manage.py load_redis_index"

makemigrations: up
docker compose exec backend bash -c "python manage.py makemigrations"

Expand Down

0 comments on commit 685a075

Please sign in to comment.