Mercurial > p > roundup > code
changeset 6864:7e907d97deb6
redis, gpg, more myql debugging
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 31 Aug 2022 23:55:17 -0400 |
| parents | 766533934008 |
| children | e69b4bfaccd3 |
| files | .github/workflows/ci-test.yml |
| diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml Wed Aug 31 23:42:33 2022 -0400 +++ b/.github/workflows/ci-test.yml Wed Aug 31 23:55:17 2022 -0400 @@ -28,6 +28,8 @@ # os: [ubuntu-latest, macos-latest, windows-latest] env: + # get colorized pytest output even without a controlling tty + PYTEST_ADDOPTS: "--color=yes" # OS: ${{ matrix.os }} PYTHON_VERSION: ${{ matrix.python-version }} @@ -62,12 +64,15 @@ 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/my.cnf - tail -n +0 /etc/mysql/my.cnf + 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";' + - name: install redis + run: sudo apt-get install redis + - name: Update pip run: python -m pip install --upgrade pip @@ -77,9 +82,8 @@ - name: Install auxilary packages run: | sudo apt-get install swig gpgsm libgpgme-dev - pip install beautifulsoup4 brotli jinja2 markdown2 \ + pip install beautifulsoup4 brotli gpg jinja2 markdown2 mistune \ pyjwt pytz whoosh - # pip install gpg - name: Install aux packages that need versions differences # if zstd fails install, keep going with test, don't abort
