Unverified Commit 6bc591ec authored by moto's avatar moto Committed by GitHub
Browse files

Enable coverage report (#585)

parent e5d99ed3
...@@ -262,6 +262,9 @@ jobs: ...@@ -262,6 +262,9 @@ jobs:
- run: - run:
name: Run test name: Run test
command: .circleci/unittest/run_test.sh command: .circleci/unittest/run_test.sh
- run:
name: Post process
command: .circleci/unittest/post_process.sh
- store_test_results: - store_test_results:
path: test-results path: test-results
......
...@@ -262,6 +262,9 @@ jobs: ...@@ -262,6 +262,9 @@ jobs:
- run: - run:
name: Run test name: Run test
command: .circleci/unittest/run_test.sh command: .circleci/unittest/run_test.sh
- run:
name: Post process
command: .circleci/unittest/post_process.sh
- store_test_results: - store_test_results:
path: test-results path: test-results
......
...@@ -5,6 +5,8 @@ dependencies: ...@@ -5,6 +5,8 @@ dependencies:
- flake8 - flake8
- numpy - numpy
- pytest - pytest
- pytest-cov
- codecov
- librosa - librosa
- pip - pip
- pip: - pip:
......
#!/usr/bin/env bash
set -e
eval "$(./conda/bin/conda shell.bash hook)"
conda activate ./env
codecov
...@@ -6,4 +6,4 @@ eval "$(./conda/bin/conda shell.bash hook)" ...@@ -6,4 +6,4 @@ eval "$(./conda/bin/conda shell.bash hook)"
conda activate ./env conda activate ./env
python -m torch.utils.collect_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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment