mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-25 07:45:48 -07:00
fix test script
This commit is contained in:
parent
88241f62e3
commit
fe1feb5ac1
2 changed files with 5 additions and 4 deletions
|
@ -249,12 +249,12 @@ stages:
|
||||||
targetPath: $(Build.ArtifactStagingDirectory)
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
- task: ExtractFiles@1
|
- task: ExtractFiles@1
|
||||||
inputs:
|
inputs:
|
||||||
archiveFilePatterns: '$(Build.ArtifactStagingDirectory)\**\Lidarr.**.windows.zip'
|
archiveFilePatterns: '$(Build.ArtifactStagingDirectory)/**/Lidarr.**.windows.zip'
|
||||||
destinationFolder: '$(Build.ArtifactStagingDirectory)\bin'
|
destinationFolder: '$(Build.ArtifactStagingDirectory)/bin'
|
||||||
- bash: |
|
- bash: |
|
||||||
ls -R ${BUILD_ARTIFACTSTAGINGDIRECTORY}
|
ls -R ${BUILD_ARTIFACTSTAGINGDIRECTORY}
|
||||||
mkdir -p .\\bin
|
mkdir -p ./bin/
|
||||||
cp -R -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}\\bin\\Lidarr\\* .\\bin
|
cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Lidarr/. ./bin/
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Windows Integration Tests
|
displayName: Windows Integration Tests
|
||||||
inputs:
|
inputs:
|
||||||
|
|
1
test.sh
1
test.sh
|
@ -63,6 +63,7 @@ if [ "$COVERAGE" = "Coverage" ]; then
|
||||||
else
|
else
|
||||||
echo "Coverage only supported on Windows"
|
echo "Coverage only supported on Windows"
|
||||||
exit 3
|
exit 3
|
||||||
|
fi
|
||||||
elif [ "$COVERAGE" = "Test" ] ; then
|
elif [ "$COVERAGE" = "Test" ] ; then
|
||||||
$NUNIT_COMMAND --where "$WHERE" $NUNIT_PARAMS $ASSEMBLIES;
|
$NUNIT_COMMAND --where "$WHERE" $NUNIT_PARAMS $ASSEMBLIES;
|
||||||
EXIT_CODE=$?
|
EXIT_CODE=$?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue