Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hehl2
Torchaudio
Commits
f177a8d5
"docs/start/install.md" did not exist on "0ab7bcaf6600722a916f01e2f8c01c8e9da99106"
Unverified
Commit
f177a8d5
authored
Apr 20, 2021
by
moto
Committed by
GitHub
Apr 20, 2021
Browse files
Remove codecov and store coverage on CCI (#778)
parent
d707b6cd
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
50 deletions
+24
-50
.circleci/config.yml
.circleci/config.yml
+10
-16
.circleci/config.yml.in
.circleci/config.yml.in
+10
-16
.circleci/unittest/linux/scripts/install.sh
.circleci/unittest/linux/scripts/install.sh
+1
-1
.circleci/unittest/linux/scripts/post_process.sh
.circleci/unittest/linux/scripts/post_process.sh
+0
-8
.circleci/unittest/linux/scripts/run_test.sh
.circleci/unittest/linux/scripts/run_test.sh
+1
-0
.circleci/unittest/windows/scripts/install.sh
.circleci/unittest/windows/scripts/install.sh
+1
-1
.circleci/unittest/windows/scripts/post_process.sh
.circleci/unittest/windows/scripts/post_process.sh
+0
-8
.circleci/unittest/windows/scripts/run_test.sh
.circleci/unittest/windows/scripts/run_test.sh
+1
-0
No files found.
.circleci/config.yml
View file @
f177a8d5
...
...
@@ -424,12 +424,10 @@ jobs:
-
run
:
name
:
Run tests
command
:
.circleci/unittest/linux/scripts/run_test.sh
-
run
:
name
:
Post process
command
:
.circleci/unittest/linux/scripts/post_process.sh
-
store_test_results
:
path
:
test-results
-
store_artifacts
:
path
:
test/htmlcov
unittest_linux_gpu
:
<<
:
*binary_common
machine
:
...
...
@@ -456,11 +454,10 @@ jobs:
-
run
:
name
:
Run tests
command
:
docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
-
run
:
name
:
Post Process
command
:
docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/post_process.sh
-
store_test_results
:
path
:
test-results
-
store_artifacts
:
path
:
test/htmlcov
unittest_windows_cpu
:
<<
:
*binary_common
...
...
@@ -479,11 +476,10 @@ jobs:
-
run
:
name
:
Run tests
command
:
.circleci/unittest/windows/scripts/run_test.sh
-
run
:
name
:
Post process
command
:
.circleci/unittest/windows/scripts/post_process.sh
-
store_test_results
:
path
:
test-results
-
store_artifacts
:
path
:
test/htmlcov
unittest_windows_gpu
:
<<
:
*binary_common
...
...
@@ -505,11 +501,10 @@ jobs:
-
run
:
name
:
Run tests
command
:
.circleci/unittest/windows/scripts/run_test.sh
-
run
:
name
:
Post process
command
:
.circleci/unittest/windows/scripts/post_process.sh
-
store_test_results
:
path
:
test-results
-
store_artifacts
:
path
:
test/htmlcov
unittest_macos_cpu
:
<<
:
*binary_common
...
...
@@ -532,11 +527,10 @@ jobs:
-
run
:
name
:
Run tests
command
:
.circleci/unittest/linux/scripts/run_test.sh
-
run
:
name
:
Post process
command
:
.circleci/unittest/linux/scripts/post_process.sh
-
store_test_results
:
path
:
test-results
-
store_artifacts
:
path
:
test/htmlcov
stylecheck
:
<<
:
*binary_common
...
...
.circleci/config.yml.in
View file @
f177a8d5
...
...
@@ -424,12 +424,10 @@ jobs:
- run:
name: Run tests
command: .circleci/unittest/linux/scripts/run_test.sh
- run:
name: Post process
command: .circleci/unittest/linux/scripts/post_process.sh
- store_test_results:
path: test-results
- store_artifacts:
path: test/htmlcov
unittest_linux_gpu:
<<: *binary_common
machine:
...
...
@@ -456,11 +454,10 @@ jobs:
- run:
name: Run tests
command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
- run:
name: Post Process
command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/post_process.sh
- store_test_results:
path: test-results
- store_artifacts:
path: test/htmlcov
unittest_windows_cpu:
<<: *binary_common
...
...
@@ -479,11 +476,10 @@ jobs:
- run:
name: Run tests
command: .circleci/unittest/windows/scripts/run_test.sh
- run:
name: Post process
command: .circleci/unittest/windows/scripts/post_process.sh
- store_test_results:
path: test-results
- store_artifacts:
path: test/htmlcov
unittest_windows_gpu:
<<: *binary_common
...
...
@@ -505,11 +501,10 @@ jobs:
- run:
name: Run tests
command: .circleci/unittest/windows/scripts/run_test.sh
- run:
name: Post process
command: .circleci/unittest/windows/scripts/post_process.sh
- store_test_results:
path: test-results
- store_artifacts:
path: test/htmlcov
unittest_macos_cpu:
<<: *binary_common
...
...
@@ -532,11 +527,10 @@ jobs:
- run:
name: Run tests
command: .circleci/unittest/linux/scripts/run_test.sh
- run:
name: Post process
command: .circleci/unittest/linux/scripts/post_process.sh
- store_test_results:
path: test-results
- store_artifacts:
path: test/htmlcov
stylecheck:
<<: *binary_common
...
...
.circleci/unittest/linux/scripts/install.sh
View file @
f177a8d5
...
...
@@ -56,5 +56,5 @@ fi
(
set
-x
conda
install
-y
-c
conda-forge
${
NUMBA_DEV_CHANNEL
}
'librosa>=0.8.0'
parameterized
'requests>=2.20'
pip
install
kaldi-io SoundFile co
decov
pytest pytest-cov scipy
pip
install
kaldi-io SoundFile co
verage
pytest pytest-cov scipy
)
.circleci/unittest/linux/scripts/post_process.sh
deleted
100755 → 0
View file @
d707b6cd
#!/usr/bin/env bash
set
-e
eval
"
$(
./conda/bin/conda shell.bash hook
)
"
conda activate ./env
codecov
.circleci/unittest/linux/scripts/run_test.sh
View file @
f177a8d5
...
...
@@ -24,3 +24,4 @@ declare -a args=(
cd test
pytest
"
${
args
[@]
}
"
torchaudio_unittest
coverage html
.circleci/unittest/windows/scripts/install.sh
View file @
f177a8d5
...
...
@@ -44,5 +44,5 @@ fi
(
set
-x
conda
install
-y
-c
conda-forge
${
NUMBA_DEV_CHANNEL
}
'librosa>=0.8.0'
parameterized
'requests>=2.20'
pip
install
kaldi-io SoundFile co
decov
pytest pytest-cov scipy
pip
install
kaldi-io SoundFile co
verage
pytest pytest-cov scipy
)
.circleci/unittest/windows/scripts/post_process.sh
deleted
100644 → 0
View file @
d707b6cd
#!/usr/bin/env bash
set
-e
eval
"
$(
./conda/Scripts/conda.exe
'shell.bash'
'hook'
)
"
conda activate ./env
codecov
.circleci/unittest/windows/scripts/run_test.sh
View file @
f177a8d5
...
...
@@ -8,3 +8,4 @@ conda activate ./env
python
-m
torch.utils.collect_env
cd test
pytest
--cov
=
torchaudio
--junitxml
=
../test-results/junit.xml
-v
--durations
20 torchaudio_unittest
coverage html
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment