提交 ae2919bf authored 作者: Brandon T. Willard's avatar Brandon T. Willard

Revert "add codecov (#119)"

This reverts commit 19a336f4.
上级 19a336f4
...@@ -139,7 +139,7 @@ jobs: ...@@ -139,7 +139,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-report=xml --no-cov-on-fail $PART python -m pytest -x -r A --verbose --runslow --cov=theano/ --cov-append --no-cov-on-fail $PART
env: env:
MKL_THREADING_LAYER: GNU MKL_THREADING_LAYER: GNU
MKL_NUM_THREADS: 1 MKL_NUM_THREADS: 1
...@@ -148,11 +148,33 @@ jobs: ...@@ -148,11 +148,33 @@ jobs:
FAST_COMPILE: ${{ matrix.fast-compile }} FAST_COMPILE: ${{ matrix.fast-compile }}
FLOAT32: ${{ matrix.float32 }} FLOAT32: ${{ matrix.float32 }}
- name: Upload coverage to Codecov - uses: actions/upload-artifact@v2
uses: codecov/codecov-action@v1
with: with:
fail_ci_if_error: true name: ${{ steps.unique-id.outputs.id }}
name: "py${{ matrix.python-version }}: ${{ matrix.part }}" path: .coverage
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() }}
......
...@@ -40,4 +40,3 @@ Theano.suo ...@@ -40,4 +40,3 @@ Theano.suo
.ropeproject .ropeproject
core core
.idea .idea
.mypy_cache/
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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论