Unverified Commit 73221557 authored by msbaines's avatar msbaines Committed by GitHub
Browse files

[cleanup] run coverage on latest PyTorch only (#331)

Also, we can save time by only running unittests once instead of
twice (with and without coverage).
parent 2d5fae18
...@@ -128,7 +128,7 @@ run_coverage: &run_coverage ...@@ -128,7 +128,7 @@ run_coverage: &run_coverage
- run: - run:
name: Run Unit Tests With Coverage name: Run Unit Tests With Coverage
command: | command: |
pytest --cov-report=xml --cov=./ --timeout 60 pytest --junitxml=test-results/junit.xml --verbose --timeout 60 --cov-report=xml --cov=./
#Uploading test coverage for Python code #Uploading test coverage for Python code
bash <(curl -s https://codecov.io/bash) -f coverage.xml -cF Python bash <(curl -s https://codecov.io/bash) -f coverage.xml -cF Python
...@@ -357,8 +357,6 @@ jobs: ...@@ -357,8 +357,6 @@ jobs:
- <<: *run_unittests - <<: *run_unittests
- <<: *run_coverage
- store_test_results: - store_test_results:
path: test-results path: test-results
...@@ -390,7 +388,7 @@ jobs: ...@@ -390,7 +388,7 @@ jobs:
- <<: *install_repo_gpu - <<: *install_repo_gpu
- <<: *run_unittests - <<: *run_coverage
- store_test_results: - store_test_results:
path: test-results path: test-results
......
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