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: 8.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