Skip to content

Commit 03aaa39

Browse files
committed
untabify yml file.
1 parent ebc702e commit 03aaa39

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/ci-test.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ jobs:
5858
- name: Install mysql
5959
run: |
6060
apt-get install mysql
61-
# set up mysql database
61+
# set up mysql database
6262
sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf
6363
cat /etc/mysql/my.cnf
6464
sudo service mysql restart
6565
mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
66-
# HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901
67-
# needed for test_mysql.mysqlDBTest.testFilteringSpecialChars
68-
# plus others. Otherwise we get:
69-
# COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4'
70-
sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py
66+
# HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901
67+
# needed for test_mysql.mysqlDBTest.testFilteringSpecialChars
68+
# plus others. Otherwise we get:
69+
# COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4'
70+
sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py
7171

7272
- name: Update pip
7373
run: python -m pip install --upgrade pip
@@ -83,24 +83,24 @@ jobs:
8383
- name: Install aux packages that need versions differences
8484
# if zstd fails install, keep going with test, don't abort
8585
run: |
86-
pip install zstd || true
87-
if "$${{ PYTHON_VERSION }} != "2."* ]]; then
86+
pip install zstd || true
87+
if "$${{ PYTHON_VERSION }} != "2."* ]]; then
8888
pip install Markdown; fi
8989
9090
- name: Install pytest and other packages needed for running tests
9191
run: pip install codecov flake8 pytest pytest-cov requests
9292

9393
- name: Test build roundup and install locale so lang tests work.
9494
run: |
95-
${{ matrix.python-version }} setup.py install
96-
(cd locale; make local_install; ls -lR locale/de/LC_MESSAGES)
95+
${{ matrix.python-version }} setup.py install
96+
(cd locale; make local_install; ls -lR locale/de/LC_MESSAGES)
9797
9898
- name: run flake8 in warn only mode
9999
run: |
100-
# stop the build for Python syntax errors or undefined names
100+
# stop the build for Python syntax errors or undefined names
101101
flake8 roundup --count --select=E9,F63,F7,F82 --show-source --statistics
102102
# exit-zero treats all errors as warnings.
103-
# The GitHub editor is 127 chars wide
103+
# The GitHub editor is 127 chars wide
104104
flake8 roundup --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
105105
106106
# Run the tests using pytest with test files in tests directory.
@@ -109,7 +109,7 @@ jobs:
109109

110110
- name: Upload coverage to Codecov
111111
# see: https://github.com/codecov/codecov-action#usage
112-
uses: codecov/codecov-action@v3
112+
uses: codecov/codecov-action@v3
113113
with:
114114
verbose: true
115115

0 commit comments

Comments
 (0)