This commit is contained in:
parent
7a2b369cfe
commit
370223795f
@ -10,6 +10,13 @@ jobs:
|
||||
- name: Checkout Codebase
|
||||
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
|
||||
run: |
|
||||
@ -29,12 +36,12 @@ jobs:
|
||||
# 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": {
|
||||
"Host": "persistence-cicd-test-postgres-db",
|
||||
"Port": 5442,
|
||||
"Host": "localhost",
|
||||
"Port": 5432,
|
||||
"Username": "postgres",
|
||||
"Password": "postgres"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user