Modified structure for Woodpecker config

This commit is contained in:
2024-04-01 22:05:10 -05:00
parent 456b8ef75b
commit fc51e2eda9
4 changed files with 80 additions and 43 deletions

View File

@ -0,0 +1,15 @@
skip_clone: true
when:
when:
- event: [push, pull_request, tag]
branch: [api/*]
refs: [ref/tags/APIDEV-*, ref/tags/API-*]
steps:
- name: (YABA.API) Build and run tests
when:
- event: [push, pull_request, tag]
branch: [api/*]
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- dotnet build ./API
- dotnet test ./API