mirror of
https://gitee.com/fastnlp/fastNLP.git
synced 2024-12-02 20:27:35 +08:00
720d7b8729
Add the webhook to notify the feishu group
27 lines
713 B
YAML
27 lines
713 B
YAML
language: python
|
|
python:
|
|
- "3.6"
|
|
# command to install dependencies
|
|
install:
|
|
- pip install --quiet -r requirements.txt
|
|
- pip install --quiet fitlog
|
|
- pip install pytest>=3.6
|
|
- pip install pytest-cov
|
|
# command to run tests
|
|
script:
|
|
- python -m spacy download en
|
|
- pytest --cov=fastNLP test/
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- https://open.feishu.cn/officialapp/notify/55ba4b15d04608e875c122f11484a4e2fa807c42b9ca074509bea654d1b99ca6
|
|
on_success: always # default: always
|
|
on_failure: always # default: always
|
|
on_start: never # default: never
|
|
on_cancel: always # default: always
|
|
on_error: always # default: always
|