From 39e78ed762a7778e5315f2fb172fe41e6c67aecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D1=8F=20=D0=91=D0=B8=D0=B7=D1=8E=D0=BA=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0?= Date: Tue, 4 Feb 2025 10:53:49 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=20pipline?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=B0=D0=B2=D1=82=D0=BE=D1=82=D0=B5=D1=81=D1=82=D0=BE?= =?UTF-8?q?=D0=B2=20(=D0=B2=D0=B5=D1=80=D0=BD=D1=83=D1=82=D1=8C=20=D0=BE?= =?UTF-8?q?=D0=B1=D1=80=D0=B0=D1=82=D0=BD=D0=BE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/integrationTests.yaml | 61 -------------------------- 1 file changed, 61 deletions(-) delete mode 100644 .gitea/workflows/integrationTests.yaml diff --git a/.gitea/workflows/integrationTests.yaml b/.gitea/workflows/integrationTests.yaml deleted file mode 100644 index 8ee8d4c..0000000 --- a/.gitea/workflows/integrationTests.yaml +++ /dev/null @@ -1,61 +0,0 @@ -name: Unit tests -run-name: ${{ gitea.actor }} is testing -on: - push: - branches: - - master - -jobs: - test: - runs-on: ubuntu-latest - container: node - - # Service containers to run with `runner-job` - services: - # Label used to access the service container - postgres: - # Docker Hub image - image: postgres - # Provide the password for postgres - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: postgres - # Set health checks to wait until postgres has started - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - # Maps tcp port 5432 on service container to the host - - 5442:5432 - - steps: - - name: Setup dotnet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 9.0.x - - - name: Add gitea as nuget source - run: dotnet nuget add source --name gitea --username publisher --password ${{ secrets.PUBLISHER_PASSWORD }} --store-password-in-clear-text https://git.ddrilling.ru/api/packages/DDrilling/nuget/index.json - - - name: Check out repository code - uses: actions/checkout@v4 - - - name: Run integration tests - run: dotnet test DD.Persistence.IntegrationTests - - - name: Run unit tests - run: dotnet test DD.Persistence.Test --no-build - - - name: Pack Persistence Client - run: dotnet pack DD.Persistence.Client/DD.Persistence.Client.csproj -c Debug -o ./artifacts - - - name: Pack Persistence Models - run: dotnet pack DD.Persistence.Models/DD.Persistence.Models.csproj -c Debug -o ./artifacts - - - name: Publish Persistence Client Package - run: dotnet nuget push ./artifacts/DD.Persistence.Client.*.nupkg --source gitea --skip-duplicate - - - name: Publish Persistence Models Package - run: dotnet nuget push ./artifacts/DD.Persistence.Models.*.nupkg --source gitea --skip-duplicate