Skip to content

Commit dc08278

Browse files
committed
Run mysql tests
Not using containers (yet), for now just setting up MariaDB with an unprivileged user and seeing how that goes. Postgres and Firebird also seem doable, although SQL Server for ODBC definitely won't be.
1 parent 2ac239a commit dc08278

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/actions/test-gentoo/action.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@ runs:
99
- shell: bash
1010
run: |
1111
set -x
12-
# XXX: Set up database tests?
12+
# XXX: Set up other database tests?
13+
# XXX: These tests are not running containerized
14+
export MYSQL_TEST_USER=ci
15+
export MYSQL_TEST_PASSWD=ci
16+
if [[ -z "$PDO_MYSQL_TEST_DSN" ]]; then
17+
export PDO_MYSQL_TEST_DSN="mysql:host=localhost;dbname=test"
18+
fi
19+
export PDO_MYSQL_TEST_USER=ci
20+
export PDO_MYSQL_TEST_PASS=ci
1321
# Slow tests criteron is doubled because this runner isn't as fast as others
1422
export SKIP_IO_CAPTURE_TESTS=1
1523
export STACK_LIMIT_DEFAULTS_CHECK=1

0 commit comments

Comments
 (0)