mirror of https://github.com/lidarr/Lidarr
Changed: Test on Mono 5.0 and 5.4
This commit is contained in:
parent
4136b9ee77
commit
8612548af9
|
@ -229,6 +229,7 @@ stages:
|
||||||
condition: succeeded()
|
condition: succeeded()
|
||||||
jobs:
|
jobs:
|
||||||
- job: Unit
|
- job: Unit
|
||||||
|
displayName: Unit Native
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
Linux:
|
Linux:
|
||||||
|
@ -286,6 +287,65 @@ stages:
|
||||||
testRunTitle: '$(osName) Unit Tests'
|
testRunTitle: '$(osName) Unit Tests'
|
||||||
failTaskOnFailedTests: true
|
failTaskOnFailedTests: true
|
||||||
|
|
||||||
|
- job: Unit_Docker
|
||||||
|
displayName: Unit Docker
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
mono500:
|
||||||
|
testName: 'Mono 5.0'
|
||||||
|
containerImage: mono:5.0
|
||||||
|
mono504:
|
||||||
|
testName: 'Mono 5.4'
|
||||||
|
containerImage: mono:5.4
|
||||||
|
mono508:
|
||||||
|
testName: 'Mono 5.8'
|
||||||
|
containerImage: mono:5.8
|
||||||
|
mono510:
|
||||||
|
testName: 'Mono 5.10'
|
||||||
|
containerImage: mono:5.10
|
||||||
|
mono516:
|
||||||
|
testName: 'Mono 5.16'
|
||||||
|
containerImage: mono:5.16
|
||||||
|
mono518:
|
||||||
|
testName: 'Mono 5.18'
|
||||||
|
containerImage: mono:5.18
|
||||||
|
mono520:
|
||||||
|
testName: 'Mono 5.20'
|
||||||
|
containerImage: mono:5.20
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
|
||||||
|
# May need to setup own containers to include fpcalc and sqlite for all versions
|
||||||
|
container: $[ variables['containerImage'] ]
|
||||||
|
|
||||||
|
timeoutInMinutes: 5
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- bash: mono --version
|
||||||
|
displayName: Check Mono version
|
||||||
|
- checkout: none
|
||||||
|
- task: DownloadPipelineArtifact@2
|
||||||
|
displayName: Download Test Artifact
|
||||||
|
inputs:
|
||||||
|
buildType: 'current'
|
||||||
|
artifactName: WindowsTests
|
||||||
|
targetPath: $(testsFolder)
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: Run Tests
|
||||||
|
env:
|
||||||
|
TEST_DIR: $(Build.SourcesDirectory)/_tests
|
||||||
|
inputs:
|
||||||
|
targetType: 'filePath'
|
||||||
|
filePath: '$(testsFolder)/test.sh'
|
||||||
|
arguments: 'Linux Unit Test'
|
||||||
|
- task: PublishTestResults@2
|
||||||
|
displayName: Publish Test Results
|
||||||
|
inputs:
|
||||||
|
testResultsFormat: 'NUnit'
|
||||||
|
testResultsFiles: '**/TestResult.xml'
|
||||||
|
testRunTitle: '$(testName) Unit Tests'
|
||||||
|
|
||||||
- stage: Integration
|
- stage: Integration
|
||||||
displayName: Integration
|
displayName: Integration
|
||||||
dependsOn: Packages
|
dependsOn: Packages
|
||||||
|
@ -366,6 +426,12 @@ stages:
|
||||||
displayName: Integration Docker
|
displayName: Integration Docker
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
mono500:
|
||||||
|
testName: 'Mono 5.0'
|
||||||
|
containerImage: mono:5.0
|
||||||
|
mono504:
|
||||||
|
testName: 'Mono 5.4'
|
||||||
|
containerImage: mono:5.4
|
||||||
mono508:
|
mono508:
|
||||||
testName: 'Mono 5.8'
|
testName: 'Mono 5.8'
|
||||||
containerImage: mono:5.8
|
containerImage: mono:5.8
|
||||||
|
@ -390,7 +456,7 @@ stages:
|
||||||
|
|
||||||
container: $[ variables['containerImage'] ]
|
container: $[ variables['containerImage'] ]
|
||||||
|
|
||||||
timeoutInMinutes: 6
|
timeoutInMinutes: 15
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- bash: mono --version
|
- bash: mono --version
|
||||||
|
|
Loading…
Reference in New Issue