1
0
Fork 0
forked from forgejo/forgejo

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/post-receive.d"`; do
sh "$SHELL_FOLDER/post-receive.d/$i"
done