use default port

This commit is contained in:
kolaente 2025-03-27 11:18:35 +01:00
parent 5c9368e700
commit 6589a8fa55
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
2 changed files with 4 additions and 3 deletions

View File

@ -7,6 +7,7 @@ on:
- v*
branches:
- main
- fix-ci
jobs:
test:

View File

@ -105,14 +105,14 @@ jobs:
MYSQL_ROOT_PASSWORD: vikunjatest
MYSQL_DATABASE: vikunjatest
ports:
- 3307:3306
- 3306:3306
migration-smoke-db-postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: vikunjatest
POSTGRES_DB: vikunjatest
ports:
- 5433:5432
- 5432:5432
steps:
- name: Download Unstable
run: |
@ -130,7 +130,7 @@ jobs:
VIKUNJA_DATABASE_PASSWORD: vikunjatest
VIKUNJA_DATABASE_DATABASE: vikunjatest
VIKUNJA_DATABASE_SSLMODE: disable
VIKUNJA_DATABASE_HOST: localhost:${{ matrix.db == 'postgres' && 5433 || 3307 }}
#VIKUNJA_DATABASE_HOST: localhost:${{ matrix.db == 'postgres' && 5433 || 3307 }}
VIKUNJA_LOG_DATABASE: stdout
VIKUNJA_LOG_DATABASELEVEL: debug
run: |