diff .github/workflows/ci-test.yml @ 6851:7840464bc064

fix syntax error in script enable mariadb install path disable other working paths.
author John Rouillard <rouilj@ieee.org>
date Wed, 31 Aug 2022 22:17:30 -0400
parents ce3f39195a68
children 8ffb859b01dd
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Wed Aug 31 22:09:00 2022 -0400
+++ b/.github/workflows/ci-test.yml	Wed Aug 31 22:17:30 2022 -0400
@@ -48,6 +48,7 @@
 
       # Install the databases
       - name: Install postgres
+        if: ${{ false }}
         run: |
           sudo apt-get install postgresql
           # Disable fsync for speed, don't care about data durability when testing
@@ -57,7 +58,6 @@
           sudo -u postgres psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
 
       - name: Install mariadb/mysql
-        if: ${{ false }}
         run: |
           sudo apt-get install mariadb
           # set up mysql database
@@ -72,9 +72,11 @@
           # sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py
 
       - name: Update pip
+        if: ${{ false }}
         run: python -m pip install --upgrade pip
 
       - name: Install db libraries
+        if: ${{ false }}
         run: pip install psycopg2 mysqlclient
 
       - name: Install auxilary packages
@@ -89,7 +91,7 @@
         run: |
           set -xv
           pip install zstd || true
-          if $(python -c 'import sys; print("%d.%d.%d"%(sys.version_info.major, sys.version_info.minor, sys.version_info.micro))' != "2."* ]]; then 
+          if [[ $(python -c 'import sys; print("%d.%d.%d"%(sys.version_info.major, sys.version_info.minor, sys.version_info.micro))') != "2."* ]]; then 
               pip install Markdown; fi
 
       - name: Install pytest and other packages needed for running tests

Roundup Issue Tracker: http://roundup-tracker.org/