parent
370223795f
commit
232db92d6c
@ -7,23 +7,23 @@ 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: |
|
||||||
apt update
|
apt update
|
||||||
apt install -y postgresql
|
apt install -y postgresql:latest
|
||||||
service postgresql start
|
service postgresql start
|
||||||
sudo -u postgres -s psql -U postgres -d postgres -c "alter user postgres with password 'postgres';"
|
sudo -u postgres -s psql -U postgres -d postgres -c "initdb --locale=ru_RU; alter user postgres with password 'postgres';"
|
||||||
|
|
||||||
|
|
||||||
# - uses: pdm-project/setup-pdm@v3
|
# - uses: pdm-project/setup-pdm@v3
|
||||||
@ -37,11 +37,11 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Run integration tests
|
# - name: Run integration tests
|
||||||
env:
|
# env:
|
||||||
DB_HOST: localhost
|
# DB_HOST: localhost
|
||||||
DB_USER: postgres
|
# DB_USER: postgres
|
||||||
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