add a final report to all pytest jobs (#6861)
we had it added for one job, please add it to all pytest jobs - we need the output of what tests were run to debug the codecov issue. thank you!
This commit is contained in:
@@ -84,7 +84,7 @@ jobs:
|
|||||||
key: v0.3-{{ checksum "setup.py" }}
|
key: v0.3-{{ checksum "setup.py" }}
|
||||||
paths:
|
paths:
|
||||||
- '~/.cache/pip'
|
- '~/.cache/pip'
|
||||||
- run: python -m pytest -n 8 --dist=loadfile -s ./tests/ --cov | tee output.txt
|
- run: python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ --cov | tee output.txt
|
||||||
- run: codecov
|
- run: codecov
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ~/transformers/output.txt
|
path: ~/transformers/output.txt
|
||||||
@@ -110,7 +110,7 @@ jobs:
|
|||||||
key: v0.3-torch-{{ checksum "setup.py" }}
|
key: v0.3-torch-{{ checksum "setup.py" }}
|
||||||
paths:
|
paths:
|
||||||
- '~/.cache/pip'
|
- '~/.cache/pip'
|
||||||
- run: python -m pytest -n 8 --dist=loadfile -s ./tests/ | tee output.txt
|
- run: python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ | tee output.txt
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ~/transformers/output.txt
|
path: ~/transformers/output.txt
|
||||||
destination: test_output.txt
|
destination: test_output.txt
|
||||||
@@ -135,7 +135,7 @@ jobs:
|
|||||||
key: v0.3-tf-{{ checksum "setup.py" }}
|
key: v0.3-tf-{{ checksum "setup.py" }}
|
||||||
paths:
|
paths:
|
||||||
- '~/.cache/pip'
|
- '~/.cache/pip'
|
||||||
- run: python -m pytest -n 8 --dist=loadfile -s ./tests/ | tee output.txt
|
- run: python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ | tee output.txt
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ~/transformers/output.txt
|
path: ~/transformers/output.txt
|
||||||
destination: test_output.txt
|
destination: test_output.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user