Skip to content

Commit

Permalink
Merge multiple reports from all CI's (#1084)
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 authored May 30, 2020
1 parent 953d595 commit 23ec56a
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ jobs:
export mnist4_cmd='CUDA_VISIBLE_DEVICES=0 python examples/mnist/mnist_save_resume_engine.py --epochs=2 --resume_from=/tmp/mnist_save_resume/checkpoint_1.pt'
docker exec -it pthd /bin/bash -c "$mnist4_cmd"
- run:
name: Codecov upload
command: |
codecov -F gpu || echo 'Codecov upload failed'
two_gpus_tests:
<<: *two_gpus

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ jobs:
python -c "import torch_xla; print('torch xla version:', torch_xla.__version__)"
sh tests/run_tpu_tests.sh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
flags: tpu
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ script:
- CI_PYTHON_VERSION="$TRAVIS_PYTHON_VERSION" sh tests/run_cpu_tests.sh

after_success:
- codecov
- codecov -F cpu || echo 'Codecov upload failed'

jobs:
include:
Expand Down
5 changes: 3 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
coverage:
precision: 0
precision: 2
round: down
range: "95...100"
status:
patch:
default:
Expand All @@ -11,4 +12,4 @@ coverage:
changes: false
comment: false
ignore:
- "test/"
- "tests/"
4 changes: 2 additions & 2 deletions tests/run_gpu_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ fi

set -xeu

py.test -vvv tests/ -k 'on_cuda'
py.test --cov ignite --cov-report term-missing -vvv tests/ -k 'on_cuda'

export WORLD_SIZE=$ws

py.test --dist=each --tx $WORLD_SIZE*popen//python=python3.7 tests -m distributed -vvv
py.test --cov ignite --cov-append --cov-report term-missing --dist=each --tx $WORLD_SIZE*popen//python=python3.7 tests -m distributed -vvv
2 changes: 1 addition & 1 deletion tests/run_tpu_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -xeu

py.test --cov ignite --cov-append --cov-report term-missing tests/ -vvv -m tpu
py.test --cov ignite --cov-report xml tests/ -vvv -m tpu

0 comments on commit 23ec56a

Please sign in to comment.