Skip to content
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

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/linting_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,10 @@ jobs:

#----------------------------------------------
# run tests
# collectstatic needed for selenium tests
#----------------------------------------------
- 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pourquoi mettre --kepdb ici ?

Copy link
Collaborator Author

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

coverage report
./manage.py test --keepdb --failfast --parallel auto lemarche
Loading