Skip to content

Commit fe951ef

Browse files
committed
Provide author
1 parent cafcc0b commit fe951ef

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/run

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ set_up()
3737

3838
# Initialize git
3939
git init -b develop
40+
git config --local user.email "[email protected]"
41+
git config --local user.name "GitHub Action"
4042
git add . && git commit -m "Initial commit"
4143
}
4244

@@ -66,21 +68,21 @@ get_hash()
6668
md5sum "$1" | awk '{print $1}'
6769
}
6870

69-
# Begin testing
70-
set +e
71-
7271
# Verify the tests
7372
assert "-d $TESTS" "Unable to locate tests"
7473

74+
# Begin testing
7575
for FILE in "$TESTS"/*; do
7676

7777
NAME=`basename "$FILE"`
7878

7979
# Start with a clean slate
80-
set_up #> /dev/null 2>&1
80+
set_up > /dev/null 2>&1
8181

8282
# Execute the test
83+
set +e
8384
. $FILE
85+
set -e
8486

8587
RESULT=$?
8688
if [ $RESULT -ne 0 ]; then

0 commit comments

Comments
 (0)