diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index b6f1675..1a0e597 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -1,10 +1,11 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] +name: Unit tests +run-name: ${{ gitea.actor }} is testing +on: [push] jobs: - Explore-Gitea-Actions: + test: runs-on: ubuntu-latest + steps: - name: Setup dotnet if: ${{ steps.cache-dotnet.outputs.cache-hit != 'true' }} @@ -13,4 +14,7 @@ jobs: dotnet-version: 8.0.x - name: Check out repository code uses: actions/checkout@v4 - - run: dotnet test DD.Persistence.IntegrationTests \ No newline at end of file + - 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 DD.Persistence.IntegrationTests + \ No newline at end of file