diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0cd5b7f..831d9bf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,6 +1,6 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. - +# #Azure pipeline for continuous integration trigger: @@ -32,12 +32,20 @@ jobs: export CUDA_VISIBLE_DEVICES=3 echo "******* Running fairseq unittests *******" - bash tests/run_fairseq_tests.sh + bash tests/run_fairseq_tests.sh > out_fairseq echo "******* Running transformers unittests *******" - bash tests/run_transformers_tests.sh + #bash tests/run_transformers_tests.sh echo "******* Running fastseq unittests *******" - pip install pytorch-transformers==1.0.0 - python -m unittest discover -s tests/ -p 'test_*.py' -v + #pip install pytorch-transformers==1.0.0 + #python -m unittest discover -s tests/ -p 'test_*.py' -v #cd benchmarks/ #CUDA_VISIBLE_DEVICES=3 run_all_benchmarks.sh displayName: 'run fastseq unit tests' + - task: PublishTestResults@2 + condition: succeededOrFailed() + inputs: + testRunTitle: 'Publish test results for Python $(python.version)' + testResultsFiles: 'out_fairseq' + failTaskOnFailedTests: true + +