for #79: pytest on circle
This commit is contained in:
Родитель
1be1754251
Коммит
cc9824d30f
|
@ -52,7 +52,7 @@ jobs:
|
|||
|
||||
- run:
|
||||
name: Test Code
|
||||
command: docker run --entrypoint "python" fx-private-relay manage.py test
|
||||
command: docker run --entrypoint "/app/.local/bin/coverage" fx-private-relay run --source=. -m pytest
|
||||
|
||||
deploy:
|
||||
docker:
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
**/.DS_store
|
||||
.coverage
|
||||
.env
|
||||
.envrc
|
||||
.git
|
||||
extension
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
.env
|
||||
.envrc
|
||||
*.sqlite3
|
||||
node_modules
|
||||
package-lock.json
|
||||
|
@ -6,3 +7,4 @@ env/
|
|||
__pycache__
|
||||
web-ext-artifacts/
|
||||
static/downloads
|
||||
htmlcov
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[pytest]
|
||||
DJANGO_SETTINGS_MODULE = privaterelay.settings
|
||||
python_files = tests.py test_*.py *_tests.py
|
||||
norecursedirs = .git .local extension
|
|
@ -5,11 +5,15 @@ django-heroku==0.3.1
|
|||
django-referrer-policy==1.0
|
||||
dockerflow==2019.10.0
|
||||
gunicorn==19.9.0
|
||||
model-bakery==1.1.0
|
||||
python-decouple==3.1
|
||||
pytest-django==3.9.0
|
||||
sentry-sdk==0.14.3
|
||||
socketlabs-injectionapi==1.0.1
|
||||
|
||||
# phones app
|
||||
# phonenumbers==8.11.1
|
||||
# twilio==6.35.1
|
||||
|
||||
# tests
|
||||
coverage==5.0.4
|
||||
model-bakery==1.1.0
|
||||
pytest-django==3.9.0
|
||||
|
|
Загрузка…
Ссылка в новой задаче