This commit is contained in:
parent
7a2b369cfe
commit
370223795f
@ -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
|
@ -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"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user