Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -44,4 +60,4 @@ steps:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'external'
publishFeedCredentials: 'RedisGraphDotNetNuGetConnection'
publishFeedCredentials: 'RedisGraphDotNetNuGetConnection'