Try to fix tests

This commit is contained in:
ta264 2019-08-11 17:04:58 +01:00
commit bc02f4ef92
2 changed files with 14 additions and 12 deletions

View file

@ -58,6 +58,16 @@ stages:
displayName: Build Lidarr Backend
- publish: $(outputFolder)
artifact: '$(osName)Backend'
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
- publish: $(testsFolder)
artifact: 'Tests'
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
# - task: PublishPipelineArtifact@0
# displayName: Publish Tests Artifact
# inputs:
# artifactName: 'Tests'
# targetPath: '$(testsFolder)'
- job: Frontend
strategy:
@ -84,7 +94,8 @@ stages:
displayName: Build Lidarr Frontend
- publish: $(outputFolder)
artifact: '$(osName)Frontend'
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
# - job: macOS
# displayName: macOS
# pool:
@ -135,17 +146,8 @@ stages:
buildType: 'current'
artifactName: WindowsFrontend
targetPath: _output
# - download: current
# artifact: 'WindowsBackend'
# - download: current
# artifact: 'WindowsFrontend'
- bash: ./build.sh --only-packages
displayName: Create Lidarr Packages
- task: PublishPipelineArtifact@0
displayName: Publish Tests Artifact
inputs:
artifactName: 'Tests'
targetPath: '$(testsFolder)'
- task: ArchiveFiles@2
displayName: Create Windows zip
inputs:

View file

@ -367,7 +367,8 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
# Only build backend if we haven't set only-frontend or only-packages
if [ -z "$ONLY_FRONTEND" ] && [ -z "$ONLY_PACKAGES" ];
then
Build
Build
PackageTests
fi
# Only build frontend if we haven't set only-backend or only-packages
@ -382,7 +383,6 @@ then
PackageMono
PackageMacOS
PackageMacOSApp
PackageTests
CleanupWindowsPackage
PackageArtifacts
fi