Always pull images when testing

This commit is contained in:
Gabriel Augendre 2021-03-06 15:06:24 +01:00
parent 719a7ec85b
commit 13b45b757d

View file

@ -5,6 +5,7 @@ name: pre-commit
steps: steps:
- name: pre-commit - name: pre-commit
image: rg.fr-par.scw.cloud/crocmagnon/pre-commit:latest image: rg.fr-par.scw.cloud/crocmagnon/pre-commit:latest
pull: always
commands: commands:
- pre-commit run --all-files --color always --show-diff-on-failure - pre-commit run --all-files --color always --show-diff-on-failure
@ -103,6 +104,7 @@ depends_on:
steps: steps:
- name: unit tests - name: unit tests
image: rg.fr-par.scw.cloud/crocmagnon/blog:tests-latest image: rg.fr-par.scw.cloud/crocmagnon/blog:tests-latest
pull: always
commands: commands:
- cd /app - cd /app
- python -m pytest - python -m pytest
@ -116,6 +118,7 @@ depends_on:
steps: steps:
- name: missing migration - name: missing migration
image: rg.fr-par.scw.cloud/crocmagnon/blog:tests-latest image: rg.fr-par.scw.cloud/crocmagnon/blog:tests-latest
pull: always
commands: commands:
- cd /app - cd /app
- python manage.py makemigrations --check - python manage.py makemigrations --check