export SECRET_KEY required by Flask-WTF (CSRF)
This commit is contained in:
parent
c226844a43
commit
734cd8e6e5
|
@ -66,6 +66,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
|
export SECRET_KEY=`python3 -c 'import secrets; print(secrets.token_hex())'`
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
coverage run --source='ereuse_devicehub' env/bin/pytest -m mvp --maxfail=5 tests/
|
coverage run --source='ereuse_devicehub' env/bin/pytest -m mvp --maxfail=5 tests/
|
||||||
coverage report --include='ereuse_devicehub/*'
|
coverage report --include='ereuse_devicehub/*'
|
||||||
|
|
Reference in New Issue