Skip to content

Commit 23ec56a

Browse files
authored
Merge multiple reports from all CI's (#1084)
1 parent 953d595 commit 23ec56a

File tree

6 files changed

+20
-6
lines changed

6 files changed

+20
-6
lines changed

.circleci/config.yml

+6
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ jobs:
115115
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'
116116
docker exec -it pthd /bin/bash -c "$mnist4_cmd"
117117
118+
- run:
119+
name: Codecov upload
120+
command: |
121+
codecov -F gpu || echo 'Codecov upload failed'
122+
123+
118124
two_gpus_tests:
119125
<<: *two_gpus
120126

.github/workflows/tpu-tests.yml

+7
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,10 @@ jobs:
5050
5151
python -c "import torch_xla; print('torch xla version:', torch_xla.__version__)"
5252
sh tests/run_tpu_tests.sh
53+
54+
- name: Upload coverage to Codecov
55+
uses: codecov/codecov-action@v1
56+
with:
57+
file: ./coverage.xml
58+
flags: tpu
59+
fail_ci_if_error: true

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ script:
4444
- CI_PYTHON_VERSION="$TRAVIS_PYTHON_VERSION" sh tests/run_cpu_tests.sh
4545

4646
after_success:
47-
- codecov
47+
- codecov -F cpu || echo 'Codecov upload failed'
4848

4949
jobs:
5050
include:

codecov.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
coverage:
2-
precision: 0
2+
precision: 2
33
round: down
4+
range: "95...100"
45
status:
56
patch:
67
default:
@@ -11,4 +12,4 @@ coverage:
1112
changes: false
1213
comment: false
1314
ignore:
14-
- "test/"
15+
- "tests/"

tests/run_gpu_tests.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ fi
88

99
set -xeu
1010

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

1313
export WORLD_SIZE=$ws
1414

15-
py.test --dist=each --tx $WORLD_SIZE*popen//python=python3.7 tests -m distributed -vvv
15+
py.test --cov ignite --cov-append --cov-report term-missing --dist=each --tx $WORLD_SIZE*popen//python=python3.7 tests -m distributed -vvv

tests/run_tpu_tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
set -xeu
44

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

0 commit comments

Comments
 (0)