тест
Some checks failed
Run Tests / run_tests (push) Failing after 1m36s

This commit is contained in:
Olga Nemt 2024-12-18 12:06:35 +05:00
parent 7a2b369cfe
commit 370223795f
2 changed files with 18 additions and 11 deletions

View File

@ -9,7 +9,14 @@ jobs:
steps: steps:
- name: Checkout Codebase - name: Checkout Codebase
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Check out repository code
uses: actions/checkout@v4
- name: Configure and install postgres - name: Configure and install postgres
run: | run: |
@ -27,14 +34,14 @@ jobs:
# - name: Install dependencies # - name: Install dependencies
# run: cd ${{ gitea.workspace }} && pdm install # run: cd ${{ gitea.workspace }} && pdm install
# - name: Run Django tests
# env:
# DB_HOST: 127.0.0.1
# DB_NAME: gastronaut
# DB_USER: postgres
# DB_PASSWORD: test123
# run: |
# cd ${{ gitea.workspace }} && pdm run manage.py test - name: Run integration tests
env:
DB_HOST: localhost
DB_USER: postgres
DB_PASSWORD: postgres
run: |
dotnet test DD.Persistence.IntegrationTests

View File

@ -1,7 +1,7 @@
{ {
"DbConnection": { "DbConnection": {
"Host": "persistence-cicd-test-postgres-db", "Host": "localhost",
"Port": 5442, "Port": 5432,
"Username": "postgres", "Username": "postgres",
"Password": "postgres" "Password": "postgres"
}, },