1 Star 0 Fork 0

TechMonkey/botpy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.orange-ci.yml 1013 Bytes
一键复制 编辑 原始数据 按行查看 历史
veehou 提交于 2021-12-25 00:27 . [init]初始化框架代码
master:
merge_request:
# Python的CI检查
- docker:
image: python:3.7-slim-stretch # 通过此参数控制使用的镜像环境
stages:
- name: Start Python CI
script:
- echo "Python unit test started"
- name: Install Requirements #安装项目所需要的pip 依赖
script:
- echo "start to install python requirements"
- pip install -i https://mirrors.tencent.com/pypi/simple/ -r requirements.txt
- name: Install Unitest Packages
script:
- echo "start to install Unitest Packages"
- pip install -i https://mirrors.tencent.com/pypi/simple/ pylint
- pip install -i https://mirrors.tencent.com/pypi/simple/ coverage
- pip install -i https://mirrors.tencent.com/pypi/simple/ pytest
- name: Code Style Test
script:
- find . -type f -name "*.py" | xargs pylint
- name: Unitest
script:
- pytest
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/hacker108/botpy.git
git@gitee.com:hacker108/botpy.git
hacker108
botpy
botpy
master

搜索帮助