Skip to content

Commit

Permalink
[Infra] Run integration tests for all profiles. (Azure#7317)
Browse files Browse the repository at this point in the history
  • Loading branch information
williexu authored and troydai committed Sep 13, 2018
1 parent 411112e commit e5fc271
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ jobs:
script: ./scripts/ci/test_integration.sh
env: PURPOSE='Integration'
python: 2.7
- stage: verify
script: ./scripts/ci/test_profile_integration.sh
env: PURPOSE='Integration for profiles'
python: 3.6
- stage: verify
script: ./scripts/ci/test_perf.sh
env: PURPOSE='Module Load Performance'
Expand Down
25 changes: 25 additions & 0 deletions scripts/ci/test_profile_integration.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env bash

. $(cd $(dirname $0); pwd)/artifacts.sh

ls -la $share_folder/build

ALL_MODULES=`find $share_folder/build/ -name "*.whl"`

pip install -e ./tools
[ -d privates ] && pip install -qqq privates/*.whl
pip install $ALL_MODULES

set -e

output=$(az cloud list-profiles -otsv)

for profile in $output; do
echo
echo "Verifying profile:" $profile
az cloud update --profile $profile
azdev verify load-all
echo $profile "profile has been verified."
done

echo "Successfully loaded all commands in each profile."

0 comments on commit e5fc271

Please sign in to comment.