[PR #2484] [MERGED] Allow changing integration test database connection using env variables #16424

Closed
opened 2025-11-02 12:10:19 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2484
Author: @lafriks
Created: 9/10/2017
Status: Merged
Merged: 9/13/2017
Merged by: @lunny

Base: masterHead: feat/allow_configurable_test_conn


📝 Commits (1)

  • 0786071 Allow changing integration test database connection using env variables

📊 Changes

4 files changed (+30 additions, -10 deletions)

View changed files

📝 .gitignore (+2 -0)
📝 Makefile (+20 -2)
📝 integrations/mysql.ini.tmpl (+4 -4)
📝 integrations/pgsql.ini.tmpl (+4 -4)

📄 Description

Allows to run integration tests without docker and with custom connection parameters, example TEST_PGSQL_HOST=localhost:5432 make test-pgsql or TEST_MYSQL_HOST=localhost:3306 make test-mysql


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2484 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 9/10/2017 **Status:** ✅ Merged **Merged:** 9/13/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `feat/allow_configurable_test_conn` --- ### 📝 Commits (1) - [`0786071`](https://github.com/go-gitea/gitea/commit/078607156eda84977264ef59545148f50727be0c) Allow changing integration test database connection using env variables ### 📊 Changes **4 files changed** (+30 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -0) 📝 `Makefile` (+20 -2) 📝 `integrations/mysql.ini.tmpl` (+4 -4) 📝 `integrations/pgsql.ini.tmpl` (+4 -4) </details> ### 📄 Description Allows to run integration tests without docker and with custom connection parameters, example `TEST_PGSQL_HOST=localhost:5432 make test-pgsql` or `TEST_MYSQL_HOST=localhost:3306 make test-mysql` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:10:19 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16424