This commit is contained in:
parent
25a631a42d
commit
1852645ae9
@ -7,16 +7,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Codebase
|
# - name: Checkout Codebase
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup dotnet
|
# - name: Setup dotnet
|
||||||
uses: actions/setup-dotnet@v4
|
# uses: actions/setup-dotnet@v4
|
||||||
with:
|
# with:
|
||||||
dotnet-version: 8.0.x
|
# dotnet-version: 8.0.x
|
||||||
|
|
||||||
- name: Check out repository code
|
# - name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Configure and install postgres
|
- name: Configure and install postgres
|
||||||
run: |
|
run: |
|
||||||
@ -26,7 +26,8 @@ jobs:
|
|||||||
apt install -y postgresql
|
apt install -y postgresql
|
||||||
service postgresql start
|
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 "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
|
# - uses: pdm-project/setup-pdm@v3
|
||||||
# with:
|
# with:
|
||||||
# python-version: 3.10
|
# python-version: 3.10
|
||||||
@ -38,12 +39,12 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Run integration tests
|
# - name: Run integration tests
|
||||||
env:
|
# env:
|
||||||
DB_HOST: localhost
|
# DB_HOST: localhost
|
||||||
DB_USER: postgres
|
# DB_USER: postgres
|
||||||
DB_NAME: persistence
|
# DB_NAME: persistence
|
||||||
DB_PASSWORD: postgres
|
# DB_PASSWORD: postgres
|
||||||
|
|
||||||
run: |
|
# run: |
|
||||||
dotnet test DD.Persistence.IntegrationTests
|
# dotnet test DD.Persistence.IntegrationTests
|
Loading…
Reference in New Issue
Block a user