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
OpenDAS
Torchaudio
Commits
6bc591ec
Unverified
Commit
6bc591ec
authored
Apr 24, 2020
by
moto
Committed by
GitHub
Apr 24, 2020
Browse files
Enable coverage report (#585)
parent
e5d99ed3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
1 deletion
+17
-1
.circleci/config.yml
.circleci/config.yml
+3
-0
.circleci/config.yml.in
.circleci/config.yml.in
+3
-0
.circleci/unittest/environment.yml
.circleci/unittest/environment.yml
+2
-0
.circleci/unittest/post_process.sh
.circleci/unittest/post_process.sh
+8
-0
.circleci/unittest/run_test.sh
.circleci/unittest/run_test.sh
+1
-1
No files found.
.circleci/config.yml
View file @
6bc591ec
...
...
@@ -262,6 +262,9 @@ jobs:
-
run
:
name
:
Run test
command
:
.circleci/unittest/run_test.sh
-
run
:
name
:
Post process
command
:
.circleci/unittest/post_process.sh
-
store_test_results
:
path
:
test-results
...
...
.circleci/config.yml.in
View file @
6bc591ec
...
...
@@ -262,6 +262,9 @@ jobs:
- run:
name: Run test
command: .circleci/unittest/run_test.sh
- run:
name: Post process
command: .circleci/unittest/post_process.sh
- store_test_results:
path: test-results
...
...
.circleci/unittest/environment.yml
View file @
6bc591ec
...
...
@@ -5,6 +5,8 @@ dependencies:
-
flake8
-
numpy
-
pytest
-
pytest-cov
-
codecov
-
librosa
-
pip
-
pip
:
...
...
.circleci/unittest/post_process.sh
0 → 100755
View file @
6bc591ec
#!/usr/bin/env bash
set
-e
eval
"
$(
./conda/bin/conda shell.bash hook
)
"
conda activate ./env
codecov
.circleci/unittest/run_test.sh
View file @
6bc591ec
...
...
@@ -6,4 +6,4 @@ eval "$(./conda/bin/conda shell.bash hook)"
conda activate ./env
python
-m
torch.utils.collect_env
pytest
--junitxml
=
test-results/junit.xml
-v
test
pytest
--cov
=
torchaudio
--junitxml
=
test-results/junit.xml
-v
test
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