Skip to content

Commit 954caa8

Browse files
committed
add sudo for apt-get
1 parent 4ec4217 commit 954caa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
# Install the databases
4949
- name: Install postgres
5050
run: |
51-
apt-get install postgresql
51+
sudo apt-get install postgresql
5252
# Disable fsync for speed, don't care about data durability when testing
5353
sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf
5454
sudo service postgresql restart; sleep 30
@@ -57,7 +57,7 @@ jobs:
5757
5858
- name: Install mysql
5959
run: |
60-
apt-get install mysql
60+
sudo apt-get install mysql
6161
# 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

0 commit comments

Comments
 (0)