export SECRET_KEY required by Flask-WTF (CSRF)

This commit is contained in:
Santiago L 2021-12-28 12:45:33 +01:00
parent c226844a43
commit 734cd8e6e5
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ jobs:
- name: Run Tests
run: |
export SECRET_KEY=`python3 -c 'import secrets; print(secrets.token_hex())'`
source env/bin/activate
coverage run --source='ereuse_devicehub' env/bin/pytest -m mvp --maxfail=5 tests/
coverage report --include='ereuse_devicehub/*'