1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

improve integration test to resue models/fixtures and store git repos with tests (#1627)

* improve integration test to resue models/fixtures and store git repos with source

* use gitea-integration-meta dir instead .tar.gz and cleanup every before every test

* fix import package name
This commit is contained in:
Lunny Xiao
2017-04-28 21:23:28 +08:00
committed by GitHub
parent 431b26f6d7
commit fca7ddc6ea
33 changed files with 582 additions and 21 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
ORI_DIR=`pwd`
SHELL_FOLDER=$(cd "$(dirname "$0")";pwd)
cd "$ORI_DIR"
for i in `ls "$SHELL_FOLDER/pre-receive.d"`; do
sh "$SHELL_FOLDER/pre-receive.d/$i"
done