Skip to content

Commit 2d1fbb5

Browse files
committed
pip redis in, fix markdown2 test, install ReST, mysql edit
mysqld max_allowed_packet is commented out, so change sed script to support commentd or uncommented versions.
1 parent 2cac88e commit 2d1fbb5

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci-test.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,30 @@ jobs:
6464
set -xv
6565
sudo apt-get install mysql-server mysql-client
6666
# set up mysql database
67-
sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/mysql.conf.d/mysqld.cnf
67+
sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^#* *max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/mysql.conf.d/mysqld.cnf
6868
tail -n +0 /etc/mysql/my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf
6969
ls /etc/mysql/conf.d/ /etc/mysql/mysql.conf.d/
7070
sudo service mysql restart
7171
sudo mysql -u root --skip-password -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
7272
7373
- name: install redis
74-
run: sudo apt-get install redis
74+
run: |
75+
sudo apt-get install redis
76+
pip install redis
7577
7678
- name: Update pip
7779
run: python -m pip install --upgrade pip
7880

7981
- name: Install db libraries
8082
run: pip install psycopg2 mysqlclient
8183

82-
- name: Install auxilary packages
84+
- name: Install auxiliary packages
8385
run: |
8486
sudo apt-get install swig gpgsm libgpgme-dev
85-
pip install beautifulsoup4 brotli gpg jinja2 markdown2 mistune \
87+
# pygments for markdown2 to highlight code blocks
88+
pip install markdown2 pygments
89+
# docutils for ReStructuredText
90+
pip install beautifulsoup4 brotli docutils gpg jinja2 mistune \
8691
pyjwt pytz whoosh
8792
8893
- name: Install aux packages that need versions differences

0 commit comments

Comments
 (0)