diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index b407b214b..f886611e0 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -484,8 +484,9 @@ stages:
cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Readarr/. ./bin/
displayName: Move Package Contents
- bash: |
- chmod a+x ${TESTSFOLDER}/test.sh
- ${TESTSFOLDER}/test.sh ${OSNAME} Integration Test
+ cd ${TESTSFOLDER}
+ chmod a+x test.sh
+ ./test.sh ${OSNAME} Integration Test
displayName: Run Integration Tests
- task: PublishTestResults@2
inputs:
@@ -556,8 +557,9 @@ stages:
cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Readarr/. ./bin/
displayName: Move Package Contents
- bash: |
- chmod a+x ${TESTSFOLDER}/test.sh
- ${TESTSFOLDER}/test.sh Linux Integration Test
+ cd ${TESTSFOLDER}
+ chmod a+x test.sh
+ ./test.sh Linux Integration Test
displayName: Run Integration Tests
- task: PublishTestResults@2
inputs:
diff --git a/src/NzbDrone.Integration.Test/Readarr.Integration.Test.csproj b/src/NzbDrone.Integration.Test/Readarr.Integration.Test.csproj
index 48d85fb95..b48a78f68 100644
--- a/src/NzbDrone.Integration.Test/Readarr.Integration.Test.csproj
+++ b/src/NzbDrone.Integration.Test/Readarr.Integration.Test.csproj
@@ -22,4 +22,9 @@
+
+
+ Always
+
+
diff --git a/src/NzbDrone.Integration.Test/integration.runsettings b/src/NzbDrone.Integration.Test/integration.runsettings
new file mode 100644
index 000000000..500abe263
--- /dev/null
+++ b/src/NzbDrone.Integration.Test/integration.runsettings
@@ -0,0 +1,11 @@
+
+
+
+ 1
+
+ true
+
+
+ 1
+
+
diff --git a/test.sh b/test.sh
index e38f76817..7b804d997 100755
--- a/test.sh
+++ b/test.sh
@@ -49,6 +49,7 @@ if [ "$TYPE" = "Unit" ]; then
WHERE="$WHERE&Category!=IntegrationTest&Category!=AutomationTest"
elif [ "$TYPE" = "Integration" ] || [ "$TYPE" = "int" ] ; then
WHERE="$WHERE&Category=IntegrationTest"
+ VSTEST_PARAMS="$VSTEST_PARAMS --settings:$TEST_DIR/integration.runsettings"
elif [ "$TYPE" = "Automation" ] ; then
WHERE="$WHERE&Category=AutomationTest"
else