Skip to content

Commit

Permalink
eco-pymysql: show server error log on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Jul 11, 2024
1 parent f966a2b commit b72f7c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dockerfiles/ecofiles/test-pymysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -xeuvo pipefail

trap "cat /data/*.err" EXIT

cd /code
[ -d PyMySQL ] || git clone https://github.com/PyMySQL/PyMySQL.git
cd PyMySQL
Expand Down Expand Up @@ -64,3 +66,6 @@ else
pytest -v -k 'not test_auth' pymysql

fi

trap - EXIT

0 comments on commit b72f7c1

Please sign in to comment.