Skip to content

Commit

Permalink
ci: add azure pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
EnisMulic committed Nov 3, 2023
1 parent 9319618 commit 4bd51c1
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .azuredevops/pipelines/ci.yml
Original file line number Diff line number Diff line change
@@ -1 +1,38 @@
trigger:
batch: true
branches:
include:
- main

pool:
vmImage: ubuntu-latest

steps:
- task: UseDotNet@2
displayName: Install dotnet
inputs:
packageType: "sdk"
version: "7.0.x"

- task: DotNetCoreCLI@2
displayName: Lint
inputs:
command: "custom"
custom: "format"
arguments: "--verify-no-changes --verbosity diagnostic"

- task: DotNetCoreCLI@2
displayName: Build
inputs:
command: "build"
arguments: "--configuration Release"

- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: "test"
arguments: >
tests/Application.UnitTests
--no-restore
--verbosity normal
--logger trx

0 comments on commit 4bd51c1

Please sign in to comment.