diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 356f21c11cdfec038b32ddde35cfa51cb1d131ad..5814fb2a4944041de6e07f03d6970c75fd88a9dc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,10 +19,10 @@ run-tox-pipeline: # Change pip's cache directory to be inside the project directory since we can # only cache local items. variables: - POSTGRES_DB: postgres - POSTGRES_USER: nwa - POSTGRES_PASSWORD: nwa - $DATABASE_URI_TEST: 'postgresql://nwa:nwa@postgres:5432/postgres' + POSTGRES_DB: gso-test-db + POSTGRES_USER: gso + POSTGRES_PASSWORD: gso + DATABASE_URI_TEST: 'postgresql://gso:gos@postgres:5432/gso-test-db' PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" # Pip's cache doesn't store the python packages diff --git a/test/conftest.py b/test/conftest.py index 138adc0bb496222e54b365d4c6426a257c5bd808..626ea3fe1f6805782c6aac55b7ee92a573c9450e 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -93,7 +93,7 @@ def data_config_filename(configuration_data) -> str: def db_uri(): """Provide the database uri configuration to run the migration on.""" - return os.environ.get("DATABASE_URI_TEST", "postgresql://nwa:nwa@localhost/nwa-workflows-test") + return os.environ.get("DATABASE_URI_TEST", "postgresql://gso:gos@localhost/gso-test-db") def run_migrations(db_uri: str) -> None: