Add environment variables before test command
@@ -14,9 +14,6 @@ build:
entry_points:
- kaggle = kaggle.cli:main
script: "{{ PYTHON }} -m pip install . -vv"
- script_env:
- - KAGGLE_USERNAME = datadinosaur
- - KAGGLE_KEY = xxxxxxxxxxxxxx
requirements:
host:
@@ -33,12 +30,11 @@ requirements:
- urllib3 >=1.21.1,<1.25
test:
- imports:
- - kaggle
- - kaggle.api
- - kaggle.models
- - kaggle.tests
commands:
+ - export KAGGLE_USERNAME=datadinosaur # [not win]
+ - export KAGGLE_KEY=xxxxxxxxxxxxxx # [not win]
+ - set KAGGLE_USERNAME=datadinosaur # [win]
+ - set KAGGLE_KEY=xxxxxxxxxxxxxx # [win]
- kaggle --help
about:
