DD.WellWorkover.Cloud/.gitea/workflows/unit-tests.yaml
2024-01-16 15:12:52 +05:00

22 lines
758 B
YAML

name: Unit tests
run-name: ${{ gitea.actor }} is testing
on:
pull_request:
types: [review_requested, ready_for_review]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup dotnet
if: ${{ steps.cache-dotnet.outputs.cache-hit != 'true' }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Check out repository code
uses: actions/checkout@v4
- name: Add gitea as nuget source
run: dotnet nuget add source --name gitea --username publisher --password ${{ secrets.PUBLISHER_PASSWORD }} --store-password-in-clear-text http://test.digitaldrilling.ru:8080/api/packages/DDrilling/nuget/index.json
- run: dotnet test AsbCloudWebApi.Tests