Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
rpteam
Revue de Press
Commits
a15c3fac
Commit
a15c3fac
authored
May 16, 2017
by
okhin
Browse files
Migrate the database before tests, should Close #17
parent
bfa79b89
Pipeline
#1033
failed with stage
in 3 minutes and 23 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a15c3fac
...
...
@@ -21,5 +21,6 @@ unit tests:
-
pip install -r requirements-tests.txt
-
echo "DEBUG = True" > ./project/settings/env.py
-
echo "SECRET_KEY = '$(pwgen 20 1)'" >> ./project/settings/env.py
-
./manage.py migrate
-
pytest apps/ --cov=apps/
tags
:
[
preprod
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment