Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
f375a0e9
Unverified
提交
f375a0e9
authored
10月 24, 2020
作者:
Oriol Abril-Pla
提交者:
GitHub
10月 24, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Change coverage to codecov (#124)
Co-authored-by:
Brandon T. Willard
<
971601+brandonwillard@users.noreply.github.com
>
上级
7f1537c7
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
26 行增加
和
28 行删除
+26
-28
test.yml
.github/workflows/test.yml
+5
-27
.gitignore
.gitignore
+3
-1
codecov.yml
codecov.yml
+18
-0
没有找到文件。
.github/workflows/test.yml
浏览文件 @
f375a0e9
...
@@ -140,7 +140,7 @@ jobs:
...
@@ -140,7 +140,7 @@ jobs:
if [[ $FAST_COMPILE == "1" ]]; then export THEANO_FLAGS=$THEANO_FLAGS,mode=FAST_COMPILE; fi
if [[ $FAST_COMPILE == "1" ]]; then export THEANO_FLAGS=$THEANO_FLAGS,mode=FAST_COMPILE; fi
if [[ $FLOAT32 == "1" ]]; then export THEANO_FLAGS=$THEANO_FLAGS,floatX=float32; fi
if [[ $FLOAT32 == "1" ]]; then export THEANO_FLAGS=$THEANO_FLAGS,floatX=float32; fi
export THEANO_FLAGS=$THEANO_FLAGS,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc.cxxflags=-pipe
export THEANO_FLAGS=$THEANO_FLAGS,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc.cxxflags=-pipe
python -m pytest -x -r A --verbose --runslow --cov=theano/ --cov-
append
--no-cov-on-fail $PART
python -m pytest -x -r A --verbose --runslow --cov=theano/ --cov-
report=xml
--no-cov-on-fail $PART
env
:
env
:
MKL_THREADING_LAYER
:
GNU
MKL_THREADING_LAYER
:
GNU
MKL_NUM_THREADS
:
1
MKL_NUM_THREADS
:
1
...
@@ -149,33 +149,11 @@ jobs:
...
@@ -149,33 +149,11 @@ jobs:
FAST_COMPILE
:
${{ matrix.fast-compile }}
FAST_COMPILE
:
${{ matrix.fast-compile }}
FLOAT32
:
${{ matrix.float32 }}
FLOAT32
:
${{ matrix.float32 }}
-
uses
:
actions/upload-artifact@v2
-
name
:
Upload coverage to Codecov
uses
:
codecov/codecov-action@v1
with
:
with
:
name
:
${{ steps.unique-id.outputs.id }}
fail_ci_if_error
:
true
path
:
.coverage
name
:
"
py${{
matrix.python-version
}}:
${{
matrix.part
}}"
coverage
:
name
:
"
Merge
and
upload
coverage"
needs
:
test
runs-on
:
ubuntu-latest
if
:
${{ needs.test.result == 'success' }}
steps
:
-
uses
:
actions/checkout@v2
with
:
fetch-depth
:
0
-
name
:
Set up Python
uses
:
actions/setup-python@v1
with
:
python-version
:
3.7
-
name
:
Download all artifacts
uses
:
actions/download-artifact@v2
-
name
:
Merge and upload coverage
run
:
|
python -m pip install coveralls
find . -name \.coverage -exec coverage combine --append {} \;
coveralls
env
:
GITHUB_TOKEN
:
${{ secrets.github_token }}
combine
:
combine
:
if
:
${{ always() }}
if
:
${{ always() }}
...
...
.gitignore
浏览文件 @
f375a0e9
...
@@ -40,4 +40,5 @@ Theano.suo
...
@@ -40,4 +40,5 @@ Theano.suo
.ropeproject
.ropeproject
core
core
.idea
.idea
/htmlcov/
.mypy_cache/
/htmlcov/
\ No newline at end of file
codecov.yml
0 → 100644
浏览文件 @
f375a0e9
codecov
:
require_ci_to_pass
:
true
comment
:
behavior
:
default
branches
:
-
"
master"
coverage
:
status
:
project
:
default
:
target
:
auto
threshold
:
0%
patch
:
default
:
target
:
100%
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论