Skip to content

Commit c7f9b38

Browse files
committed
null pw??
1 parent 5b2ddfe commit c7f9b38

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/ci-test.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
steps:
3737
# Checkout the latest code from the repo
3838
- name: Checkout source
39+
# if: {{ false }}
40+
# continue-on-error: true
3941
uses: actions/checkout@v3
4042

4143
# Setup which version of Python to use
@@ -49,17 +51,7 @@ jobs:
4951
run: python -c "import sys; print(sys.version)"
5052

5153
# Install the databases
52-
- name: Install postgres
53-
run: |
54-
sudo apt-get install postgresql
55-
# Disable fsync for speed, don't care about data durability when testing
56-
sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf
57-
sudo service postgresql restart; sleep 30
58-
# set up postgresql database
59-
sudo -u postgres psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
60-
6154
- name: Install mysql/mariadb
62-
continue-on-error: true
6355
run: |
6456
set -xv
6557
# set up mysql database
@@ -70,7 +62,16 @@ jobs:
7062
sleep 5
7163
sudo service mysql restart; sleep 30
7264
ps -ef | grep mysqld
73-
sudo mysql -u root -p --protocol SOCKET -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
65+
sudo mysql -u root -p "" --protocol SOCKET -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
66+
67+
- name: Install postgres
68+
run: |
69+
sudo apt-get install postgresql
70+
# Disable fsync for speed, don't care about data durability when testing
71+
sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf
72+
sudo service postgresql restart; sleep 30
73+
# set up postgresql database
74+
sudo -u postgres psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
7475

7576
- name: install redis
7677
run: |

0 commit comments

Comments
 (0)