diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 379a6e9d..d7dbeff8 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -1,4 +1,4 @@ -name: deploy +name: deploy test server run-name: ${{ gitea.actor }} is deploying to test server on: push: diff --git a/.gitea/workflows/unit-tests.yaml b/.gitea/workflows/unit-tests.yaml index b17ae49c..09711bfa 100644 --- a/.gitea/workflows/unit-tests.yaml +++ b/.gitea/workflows/unit-tests.yaml @@ -1,9 +1,6 @@ name: Unit tests run-name: ${{ gitea.actor }} is testing on: - push: - branches: - - dev pull_request: types: [review_requested, ready_for_review] @@ -19,5 +16,7 @@ jobs: 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 \ No newline at end of file