mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
Cache Yarn Packages on build
Signed-off-by: Robin Dadswell <robin@dadswell.email>
This commit is contained in:
+3
-11
@@ -697,17 +697,6 @@ stages:
|
|||||||
chmod a+x ${TESTSFOLDER}/test.sh
|
chmod a+x ${TESTSFOLDER}/test.sh
|
||||||
${TESTSFOLDER}/test.sh ${OSNAME} Automation Test
|
${TESTSFOLDER}/test.sh ${OSNAME} Automation Test
|
||||||
displayName: Run Automation Tests
|
displayName: Run Automation Tests
|
||||||
- task: CopyFiles@2
|
|
||||||
displayName: 'Copy Screenshot to: $(Build.ArtifactStagingDirectory)'
|
|
||||||
inputs:
|
|
||||||
SourceFolder: '$(Build.SourcesDirectory)'
|
|
||||||
Contents: |
|
|
||||||
**/*_test_screenshot.png
|
|
||||||
TargetFolder: '$(Build.ArtifactStagingDirectory)/screenshots'
|
|
||||||
- publish: $(Build.ArtifactStagingDirectory)/screenshots
|
|
||||||
artifact: '$(osName)AutomationScreenshots'
|
|
||||||
condition: and(succeeded(), eq(variables['System.JobAttempt'], '1'))
|
|
||||||
displayName: Publish Screenshot Bundle
|
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
inputs:
|
inputs:
|
||||||
testResultsFormat: 'NUnit'
|
testResultsFormat: 'NUnit'
|
||||||
@@ -791,6 +780,9 @@ stages:
|
|||||||
|
|
||||||
- job: Analyze_Backend
|
- job: Analyze_Backend
|
||||||
displayName: Backend
|
displayName: Backend
|
||||||
|
dependsOn: Prepare
|
||||||
|
condition: and(succeeded(), eq(dependencies.Prepare.outputs['setVar.backendNotUpdated'], '0'))
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
disable.coverage.autogenerate: 'true'
|
disable.coverage.autogenerate: 'true'
|
||||||
pool:
|
pool:
|
||||||
|
|||||||
Reference in New Issue
Block a user