diff --git a/drone.yml b/drone.yml new file mode 100644 index 0000000..e337b35 --- /dev/null +++ b/drone.yml @@ -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 +