mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
Added CI build
This commit is contained in:
parent
a1e86ad728
commit
494b553a8e
2 changed files with 37 additions and 0 deletions
|
@ -69,6 +69,7 @@ steps:
|
||||||
OverWrite: true
|
OverWrite: true
|
||||||
|
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
|
displayName: Upload Test Results
|
||||||
inputs:
|
inputs:
|
||||||
testResultsFormat: 'VSTest'
|
testResultsFormat: 'VSTest'
|
||||||
testResultsFiles: '**/Test-*.trx'
|
testResultsFiles: '**/Test-*.trx'
|
||||||
|
|
36
ci-build.yaml
Normal file
36
ci-build.yaml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# ASP.NET Core
|
||||||
|
# Build and test ASP.NET Core projects targeting .NET Core.
|
||||||
|
# Add steps that run tests, create a NuGet package, deploy, and more:
|
||||||
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branches:
|
||||||
|
include:
|
||||||
|
- feature/*
|
||||||
|
exclude:
|
||||||
|
- feature/v4
|
||||||
|
|
||||||
|
variables:
|
||||||
|
solution: '**/*.sln'
|
||||||
|
testProj: '**/*.Tests.csproj'
|
||||||
|
csProj: '**/*.csproj'
|
||||||
|
buildConfiguration: 'Release'
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-latest'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- task: CmdLine@2
|
||||||
|
displayName: Run Build Script
|
||||||
|
inputs:
|
||||||
|
script: './build.sh --settings_skipverification=true --target=build'
|
||||||
|
|
||||||
|
- task: PublishTestResults@2
|
||||||
|
displayName: Upload Test Results
|
||||||
|
inputs:
|
||||||
|
testResultsFormat: 'VSTest'
|
||||||
|
testResultsFiles: '**/Test-*.trx'
|
||||||
|
mergeTestResults: true
|
||||||
|
failTaskOnFailedTests: true
|
||||||
|
testRunTitle: 'Unit Tests'
|
Loading…
Add table
Add a link
Reference in a new issue