skipping integration test in repos w/o secrets

Signed-off-by: Clemens Vasters <clemensv@microsoft.com>
This commit is contained in:
Clemens Vasters 2022-09-08 03:45:54 -07:00
Родитель 66b2888a36
Коммит e97c586e64
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -1,6 +1,9 @@
#!/bin/bash
if [ ! -z $APPVEYOR_BUILD_VERSION ]; then _VersionProp="/p:VersionPrefix=$APPVEYOR_BUILD_VERSION"; fi
if [ -z $AZBRIDGE_TEST_CXNSTRING ]; then
echo "Skipping integration tests due to missing AZBRIDGE_TEST_CXNSTRING secret"
exit 0
fi
pushd test/mysql
dotnet msbuild /t:build /p:Configuration=Debug /p:TargetFramework=net6.0 $_BuildProp $_VersionProp $@