Enable MySQL tests

This commit is contained in:
Antonin Delpeuch 2019-06-13 13:51:03 +01:00
parent 81c38ab44c
commit d7156a1ea3
2 changed files with 2 additions and 4 deletions

View File

@ -21,8 +21,8 @@ env:
before_install: before_install:
# create test database for mysql, mariadb and postgresql # create test database for mysql, mariadb and postgresql
# mysql is currently disabled: https://github.com/OpenRefine/OpenRefine/issues/2043 # mysql is currently disabled: https://github.com/OpenRefine/OpenRefine/issues/2043
#- mysql -u root -e 'CREATE DATABASE test_db;' - mysql -u root -e 'CREATE DATABASE test_db;'
#- mysql -u root test_db < extensions/database/tests/conf/travis-mysql.sql - mysql -u root test_db < extensions/database/tests/conf/travis-mysql.sql
- psql -c 'CREATE DATABASE test_db;' -U postgres - psql -c 'CREATE DATABASE test_db;' -U postgres
- psql -U postgres test_db < extensions/database/tests/conf/travis-pgsql.sql - psql -U postgres test_db < extensions/database/tests/conf/travis-pgsql.sql
- cp extensions/database/tests/conf/travis_tests.xml extensions/database/tests/conf/tests.xml - cp extensions/database/tests/conf/travis_tests.xml extensions/database/tests/conf/tests.xml

View File

@ -25,8 +25,6 @@
<!-- See https://github.com/OpenRefine/OpenRefine/issues/2043 --> <!-- See https://github.com/OpenRefine/OpenRefine/issues/2043 -->
<groups> <groups>
<run> <run>
<exclude name="requiresMySQL"/>
<exclude name="requiresMariaDB" />
</run> </run>
</groups> </groups>
<classes> <classes>