-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test the tests #1617
base: master
Are you sure you want to change the base?
Test the tests #1617
Conversation
#---------------------------------------------- | ||
- name: 🤹 Run Tests | ||
run: | | ||
source .venv/bin/activate | ||
python manage.py collectstatic | ||
coverage run --source='./lemarche' ./manage.py test --parallel auto lemarche | ||
coverage run --source='./lemarche' ./manage.py test --keepdb --parallel auto lemarche |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pourquoi mettre --kepdb ici ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
En fait je voulais être sur que le bug était pas du à ma config, donc j'ai fait cette PR pour me servir de la CI de github, pour voir si le bug etait là aussi.
Je pense qu'il faudrait mettre à jour la CI pour éviter d'appeler une review lorsque la PR est en DRAFT
Quoi ?
Pourquoi ?
Comment ?
Autre (optionnel)
https://docs.wagtail.org/en/stable/advanced_topics/testing.html#creating-page-objects-within-tests