This commit is contained in:
parent
25a631a42d
commit
1852645ae9
@ -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
|
||||
# run: |
|
||||
# dotnet test DD.Persistence.IntegrationTests
|
Loading…
Reference in New Issue
Block a user