This commit is contained in:
parent
031b6caef4
commit
25a631a42d
@ -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: |
|
||||
@ -27,8 +27,6 @@ jobs:
|
||||
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"
|
||||
|
||||
|
||||
# - uses: pdm-project/setup-pdm@v3
|
||||
# with:
|
||||
# python-version: 3.10
|
||||
@ -40,11 +38,12 @@ jobs:
|
||||
|
||||
|
||||
|
||||
# - name: Run integration tests
|
||||
# env:
|
||||
# DB_HOST: localhost
|
||||
# DB_USER: postgres
|
||||
# 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
|
@ -2,6 +2,7 @@
|
||||
"DbConnection": {
|
||||
"Host": "localhost",
|
||||
"Port": 5432,
|
||||
"Database": "persistence",
|
||||
"Username": "postgres",
|
||||
"Password": "postgres"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user