mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-25 15:55:06 -07:00
windows paths for integration test
This commit is contained in:
parent
34030d77a2
commit
4650ab24a1
2 changed files with 6 additions and 6 deletions
|
@ -245,16 +245,16 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
buildType: 'current'
|
buildType: 'current'
|
||||||
artifactName: Lidarr
|
artifactName: Lidarr
|
||||||
itemPattern: '**/Lidarr.**.windows.zip'
|
itemPattern: '**\Lidarr.**.windows.zip'
|
||||||
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:
|
||||||
|
|
2
test.sh
2
test.sh
|
@ -59,7 +59,7 @@ for i in `find $TEST_DIR -name "$TEST_PATTERN"`;
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "$COVERAGE" = "Coverage" ]; then
|
if [ "$COVERAGE" = "Coverage" ]; then
|
||||||
$OC_COMMAND -register:user -target:"$NUNIT_COMMAND" -targetargs:"$NUNIT_PARAMS --where=\"$WHERE\" $ASSEMBLIES" -output:"$COVERAGE_FILE";
|
$OC_COMMAND -register:user -target:"$NUNIT" -targetargs:"$NUNIT_PARAMS --where=\"$WHERE\" $ASSEMBLIES" -output:"$COVERAGE_FILE";
|
||||||
EXIT_CODE=$?
|
EXIT_CODE=$?
|
||||||
elif [ "$COVERAGE" = "Test" ] ; then
|
elif [ "$COVERAGE" = "Test" ] ; then
|
||||||
$NUNIT_COMMAND --where "$WHERE" $NUNIT_PARAMS $ASSEMBLIES;
|
$NUNIT_COMMAND --where "$WHERE" $NUNIT_PARAMS $ASSEMBLIES;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue