Weiyun1025's picture
Upload folder using huggingface_hub
2abfccb verified
raw
history blame contribute delete
472 Bytes
image: registry.sensetime.com/library/python:3.6
before_script:
- python -V
- python -m venv venv
- source ./venv/bin/activate
- python setup.py sdist
- pip install dist/*
stages:
- flake8
- unit_test
flake8:
stage: flake8
script:
- pip install flake8
- flake8 --ignore E501 --exclude '.git,.tox,*.egg-info,venv,scripts,tests,examples' . # todo remove scripts,tests,examples
test:
stage: unit_test
script:
- python tests/run_test.py