Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

#
#Azure pipeline for continuous integration

trigger:
Expand Down Expand Up @@ -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