Use github actions secret for to pass variables for tests
This commit is contained in:
parent
b9768aa37d
commit
74622c78a9
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
@ -16,5 +16,12 @@ jobs:
|
||||
pip install -r dev-requirements.txt
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
FLASK_SECRET: ${{SECRETS.FLASK_SECRET}}
|
||||
DB_HOST: ${{SECRETS.DB_HOST}}
|
||||
DB_PORT: ${{SECRETS.DB_PORT}}
|
||||
DB_USER: ${{SECRETS.DB_USER}}
|
||||
DB_PASSWORD: ${{SECRETS.DB_PASSWORD}}
|
||||
DB_DBNAME: ${{SECRETS.DB_DBNAME}}
|
||||
run: |
|
||||
python -m pytest --verbose
|
||||
|
Loading…
Reference in New Issue
Block a user