Add example .env file so unittests pass in CI environment
This commit is contained in:
7
.env.example
Normal file
7
.env.example
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
APP_ENV=DEV
|
||||||
|
API_ID=20798818
|
||||||
|
API_HASH=c657773dc9a68823d5ae2c69e66d9d09
|
||||||
|
BOT_TOKEN=6811299384:AAFPUDfE-bJyw8g4p01x6IhofXBBxgEd4es
|
||||||
|
STORAGE=/data
|
||||||
|
ALLOWED_IDS=1868160614
|
||||||
|
LOG_LEVEL=INFO
|
||||||
@@ -24,7 +24,9 @@ jobs:
|
|||||||
run: pip install tox>=4.16
|
run: pip install tox>=4.16
|
||||||
|
|
||||||
- name: Run tox
|
- name: Run tox
|
||||||
run: tox
|
run: |
|
||||||
|
source .env.example
|
||||||
|
tox
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user