Skip to content

Commit 2cac88e

Browse files
committed
redis, gpg, more myql debugging
1 parent 68af8b2 commit 2cac88e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci-test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
# os: [ubuntu-latest, macos-latest, windows-latest]
2929

3030
env:
31+
# get colorized pytest output even without a controlling tty
32+
PYTEST_ADDOPTS: "--color=yes"
3133
# OS: ${{ matrix.os }}
3234
PYTHON_VERSION: ${{ matrix.python-version }}
3335

@@ -62,12 +64,15 @@ jobs:
6264
set -xv
6365
sudo apt-get install mysql-server mysql-client
6466
# set up mysql database
65-
sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf
66-
tail -n +0 /etc/mysql/my.cnf
67+
sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/mysql.conf.d/mysqld.cnf
68+
tail -n +0 /etc/mysql/my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf
6769
ls /etc/mysql/conf.d/ /etc/mysql/mysql.conf.d/
6870
sudo service mysql restart
6971
sudo mysql -u root --skip-password -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
7072
73+
- name: install redis
74+
run: sudo apt-get install redis
75+
7176
- name: Update pip
7277
run: python -m pip install --upgrade pip
7378

@@ -77,9 +82,8 @@ jobs:
7782
- name: Install auxilary packages
7883
run: |
7984
sudo apt-get install swig gpgsm libgpgme-dev
80-
pip install beautifulsoup4 brotli jinja2 markdown2 \
85+
pip install beautifulsoup4 brotli gpg jinja2 markdown2 mistune \
8186
pyjwt pytz whoosh
82-
# pip install gpg
8387
8488
- name: Install aux packages that need versions differences
8589
# if zstd fails install, keep going with test, don't abort

0 commit comments

Comments
 (0)