Skip to content

Commit 8aa2764

Browse files
committed
fix syntax error in script enable mariadb install path
disable other working paths.
1 parent 7e2d4e1 commit 8aa2764

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848

4949
# Install the databases
5050
- name: Install postgres
51+
if: ${{ false }}
5152
run: |
5253
sudo apt-get install postgresql
5354
# Disable fsync for speed, don't care about data durability when testing
@@ -57,7 +58,6 @@ jobs:
5758
sudo -u postgres psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
5859
5960
- name: Install mariadb/mysql
60-
if: ${{ false }}
6161
run: |
6262
sudo apt-get install mariadb
6363
# set up mysql database
@@ -72,9 +72,11 @@ jobs:
7272
# sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py
7373
7474
- name: Update pip
75+
if: ${{ false }}
7576
run: python -m pip install --upgrade pip
7677

7778
- name: Install db libraries
79+
if: ${{ false }}
7880
run: pip install psycopg2 mysqlclient
7981

8082
- name: Install auxilary packages
@@ -89,7 +91,7 @@ jobs:
8991
run: |
9092
set -xv
9193
pip install zstd || true
92-
if $(python -c 'import sys; print("%d.%d.%d"%(sys.version_info.major, sys.version_info.minor, sys.version_info.micro))' != "2."* ]]; then
94+
if [[ $(python -c 'import sys; print("%d.%d.%d"%(sys.version_info.major, sys.version_info.minor, sys.version_info.micro))') != "2."* ]]; then
9395
pip install Markdown; fi
9496
9597
- name: Install pytest and other packages needed for running tests

0 commit comments

Comments
 (0)