From 1852645ae95d32b5f4a8bdcd64b9f65b25030490 Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Wed, 18 Dec 2024 12:56:34 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=8B=D1=82=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BB=D0=BE=D0=BA=D0=B0=D0=BB=D1=8C=20=D0=BF=D0=BE=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D1=8F=D1=82=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/test.yaml | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 9541c3b..44c81e2 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -7,16 +7,16 @@ jobs: runs-on: ubuntu-latest container: catthehacker/ubuntu:act-latest steps: - - name: Checkout Codebase - uses: actions/checkout@v4 + # - name: Checkout Codebase + # uses: actions/checkout@v4 - - name: Setup dotnet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x + # - name: Setup dotnet + # uses: actions/setup-dotnet@v4 + # with: + # dotnet-version: 8.0.x - - name: Check out repository code - uses: actions/checkout@v4 + # - name: Check out repository code + # uses: actions/checkout@v4 - name: Configure and install postgres run: | @@ -26,7 +26,8 @@ jobs: apt install -y postgresql service postgresql start sudo -u postgres -s psql -U postgres -d postgres -c "alter user postgres with password 'postgres'; SELECT version();" - sudo -u postgres -s psql -U postgres -d postgres -c "CREATE DATABASE persistence WITH OWNER 'postgres' ENCODING 'UTF8' LC_COLLATE = 'ru_RU.UTF-8' LC_CTYPE = 'ru_RU.UTF-8' TEMPLATE = template0" + sudo -u postgres -s psql -U postgres -d postgres -c "CREATE DATABASE persistence WITH OWNER 'postgres' ENCODING 'UTF8' LC_COLLATE = 'Russian_Russia.1251' LC_CTYPE = 'Russian_Russia.1251' TEMPLATE = template0" + sudo locale -a # - uses: pdm-project/setup-pdm@v3 # with: # python-version: 3.10 @@ -38,12 +39,12 @@ jobs: - - name: Run integration tests - env: - DB_HOST: localhost - DB_USER: postgres - DB_NAME: persistence - DB_PASSWORD: postgres + # - name: Run integration tests + # env: + # DB_HOST: localhost + # DB_USER: postgres + # DB_NAME: persistence + # DB_PASSWORD: postgres - run: | - dotnet test DD.Persistence.IntegrationTests \ No newline at end of file + # run: | + # dotnet test DD.Persistence.IntegrationTests \ No newline at end of file