This commit is contained in:
20
.drone.yml
Normal file
20
.drone.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: "Build and test"
|
||||
|
||||
steps:
|
||||
- name: restore-dependencies
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
commands:
|
||||
- dotnet restore
|
||||
|
||||
- name: build-application
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
commands:
|
||||
- dotnet build -c Release --no-restore
|
||||
|
||||
- name: run-tests
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
commands:
|
||||
- dotnet test -c Release --no-build --verbosity normal
|
||||
|
||||
Reference in New Issue
Block a user