mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-30 00:16:07 +08:00
Create python-package-conda.yml
This commit is contained in:
parent
1402fe8785
commit
68132012f2
1
.github/workflows/python-package-conda.yml
vendored
Normal file
1
.github/workflows/python-package-conda.yml
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
名称:使用Conda n non的Python包:[Push]n nJobs:n build-linux运行-on:Ubuntu-最新的n策略:n max-并行:5 n个步骤:n-使用:action/checkout@v2n-name:set Python 3.8 n use:action/setthon@v2 n with:n python-version:3.8 n-name:Add conda to system path n run运行:n#$Conda是一个环境变量,指向miniconda目录的根目录n echo$conda/bin>>$gitHub_path n-name:install依赖项n run:n conda env UPDATE-file Environment.yml-name base n-name:lint with flake8 n run:n conda install 8n#,如果存在Python语法错误或未定义名称n flake 8,请停止构建。-计数--SELECT=E9,F63,F7,F82--显示源--统计n#退出--零将所有错误视为警告。GitHub编辑器是127字符宽的n片8。-计数-出口-0-最大复杂度=10-最大行长=127-统计n-名称:测试与pytest n运行:n conda安装pytest n pytest
|
Loading…
Reference in New Issue
Block a user