diff .github/workflows/ci-test.yml @ 6844:c0d2017ef797

add sudo for apt-get
author John Rouillard <rouilj@ieee.org>
date Wed, 31 Aug 2022 21:27:54 -0400
parents c61ab02ad067
children bd4d573ca733
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Wed Aug 31 18:13:32 2022 -0400
+++ b/.github/workflows/ci-test.yml	Wed Aug 31 21:27:54 2022 -0400
@@ -48,7 +48,7 @@
       # Install the databases
       - name: Install postgres
         run: |
-          apt-get install postgresql
+          sudo apt-get install postgresql
           # Disable fsync for speed, don't care about data durability when testing
           sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf
           sudo service postgresql restart; sleep 30
@@ -57,7 +57,7 @@
 
       - name: Install mysql
         run: |
-          apt-get install mysql
+          sudo apt-get install mysql
           # set up mysql database
           sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf
           cat /etc/mysql/my.cnf

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