diff .github/workflows/ci-test.yml @ 6866:a3ad2d1a4ea1

spec mistune version; force socket on mysql invocation
author John Rouillard <rouilj@ieee.org>
date Thu, 01 Sep 2022 01:00:49 -0400
parents e69b4bfaccd3
children 25487b21f812
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Thu Sep 01 00:27:47 2022 -0400
+++ b/.github/workflows/ci-test.yml	Thu Sep 01 01:00:49 2022 -0400
@@ -62,13 +62,12 @@
         continue-on-error: true
         run: |
           set -xv
-          sudo apt-get install mysql-server mysql-client
           # set up mysql database
           sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^#* *max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/mysql.conf.d/mysqld.cnf
           tail -n +0 /etc/mysql/my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf
           ls  /etc/mysql/conf.d/  /etc/mysql/mysql.conf.d/
           sudo service mysql restart
-          sudo mysql -u root --skip-password -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
+          sudo mysql -u root --protocol SOCKET -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
 
       - name: install redis
         run: |
@@ -87,8 +86,8 @@
           # pygments for markdown2 to highlight code blocks
           pip install markdown2 pygments
           # docutils for ReStructuredText
-          pip install beautifulsoup4 brotli docutils gpg jinja2 mistune \
-              pyjwt pytz whoosh
+          pip install beautifulsoup4 brotli docutils gpg jinja2 \
+            mistune==0.8.4 pyjwt pytz whoosh
 
       - name: Install aux packages that need versions differences
         # if zstd fails install, keep going with test, don't abort

Roundup Issue Tracker: http://roundup-tracker.org/