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:
|
||||
buildType: 'current'
|
||||
artifactName: Lidarr
|
||||
itemPattern: '**/Lidarr.**.windows.zip'
|
||||
itemPattern: '**\Lidarr.**.windows.zip'
|
||||
targetPath: $(Build.ArtifactStagingDirectory)
|
||||
- task: ExtractFiles@1
|
||||
inputs:
|
||||
archiveFilePatterns: '$(Build.ArtifactStagingDirectory)/**/Lidarr.**.windows.zip'
|
||||
destinationFolder: '$(Build.ArtifactStagingDirectory)/bin'
|
||||
archiveFilePatterns: '$(Build.ArtifactStagingDirectory)\**\Lidarr.**.windows.zip'
|
||||
destinationFolder: '$(Build.ArtifactStagingDirectory)\bin'
|
||||
- bash: |
|
||||
ls -R ${BUILD_ARTIFACTSTAGINGDIRECTORY}
|
||||
mkdir -p ./bin
|
||||
cp -R -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Lidarr/* ./bin
|
||||
mkdir -p .\\bin
|
||||
cp -R -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}\\bin\\Lidarr\\* .\\bin
|
||||
- task: Bash@3
|
||||
displayName: Windows Integration Tests
|
||||
inputs:
|
||||
|
|
2
test.sh
2
test.sh
|
@ -59,7 +59,7 @@ for i in `find $TEST_DIR -name "$TEST_PATTERN"`;
|
|||
done
|
||||
|
||||
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=$?
|
||||
elif [ "$COVERAGE" = "Test" ] ; then
|
||||
$NUNIT_COMMAND --where "$WHERE" $NUNIT_PARAMS $ASSEMBLIES;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue