diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a98f51a..cff8ac6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,9 +7,25 @@ trigger: - master - release/* +schedules: +- cron: "0 0 * * *" + displayName: Daily midnight build + branches: + include: + - master + - releases/* + +resources: + containers: + - container: redisgraph + image: redislabs/redisgraph:edge + pool: vmImage: 'ubuntu-latest' +services: + redisgraph: redisgraph + # do this before all your .NET Core tasks steps: - task: DotNetCoreInstaller@0 @@ -28,7 +44,7 @@ steps: inputs: command: test projects: '**/*Tests/*.csproj' - arguments: '--configuration Release --filter TestCategory=Unit' + arguments: '--configuration Release' - task: DotNetCoreCLI@2 displayName: Pack @@ -44,4 +60,4 @@ steps: command: 'push' packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' nuGetFeedType: 'external' - publishFeedCredentials: 'RedisGraphDotNetNuGetConnection' \ No newline at end of file + publishFeedCredentials: 'RedisGraphDotNetNuGetConnection'