summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLibravatar tobi <tobi.smethurst@protonmail.com>2025-07-09 17:25:45 +0200
committerLibravatar tobi <kipvandenbos@noreply.codeberg.org>2025-07-09 17:25:45 +0200
commit352353ce7a33c3ac26fbecd597ab24ae2f9c9864 (patch)
treeeeea288eea02162ff25e54c9052eaffd705cb5ad /test
parent[feature] Use `hidesToPublicFromUnauthedWeb` and `hidesCcPublicFromUnauthedWe... (diff)
downloadgotosocial-352353ce7a33c3ac26fbecd597ab24ae2f9c9864.tar.xz
[chore/testing] Add env vars to skip testrig setup/teardown (#4317)
Add flags to skip local testrig db setup and teardown, to allow somewhat easier testing of migrations. Documents env vars available to the testrig. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4317 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/envparsing.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/envparsing.sh b/test/envparsing.sh
index a6247ece5..4dba8f155 100755
--- a/test/envparsing.sh
+++ b/test/envparsing.sh
@@ -176,6 +176,8 @@ EXPECT=$(cat << "EOF"
"protocol": "http",
"remote-only": false,
"request-id-header": "X-Trace-Id",
+ "skip-db-setup": false,
+ "skip-db-teardown": false,
"smtp-disclose-recipients": true,
"smtp-from": "queen.rip.in.piss@terfisland.org",
"smtp-host": "example.com",