Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 6852:8ffb859b01dd
more fixes.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 31 Aug 2022 22:20:52 -0400 |
| parents | 7840464bc064 |
| children | 1f12ca2c409c |
comparison
equal
deleted
inserted
replaced
| 6851:7840464bc064 | 6852:8ffb859b01dd |
|---|---|
| 55 sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf | 55 sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf |
| 56 sudo service postgresql restart; sleep 30 | 56 sudo service postgresql restart; sleep 30 |
| 57 # set up postgresql database | 57 # set up postgresql database |
| 58 sudo -u postgres psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres | 58 sudo -u postgres psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres |
| 59 | 59 |
| 60 - name: Install mariadb/mysql | 60 - name: Install mysql/mariadb |
| 61 run: | | 61 run: | |
| 62 sudo apt-get install mariadb | 62 sudo apt-get install mysql-server mysql-client |
| 63 # set up mysql database | 63 # set up mysql database |
| 64 sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf | 64 sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf |
| 65 cat /etc/mysql/my.cnf | 65 cat /etc/mysql/my.cnf |
| 66 sudo service mariadb restart | 66 sudo service mysql restart |
| 67 mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' | 67 mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' |
| 68 # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901 | 68 # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901 |
| 69 # needed for test_mysql.mysqlDBTest.testFilteringSpecialChars | 69 # needed for test_mysql.mysqlDBTest.testFilteringSpecialChars |
| 70 # plus others. Otherwise we get: | 70 # plus others. Otherwise we get: |
| 71 # COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4' | 71 # COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4' |
