diff .github/workflows/ci-test.yml @ 7417:6b332e3d7c43

try to fix postgres install on ubuntu 20.04 for Python 3.6. force update of apt inventory. Looks like postgresql 14 is supposed to be installed, but apt install is trying v12.
author John Rouillard <rouilj@ieee.org>
date Thu, 25 May 2023 18:38:23 -0400
parents f636c3c5333e
children a6d6c728240f
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Thu May 25 17:53:12 2023 -0400
+++ b/.github/workflows/ci-test.yml	Thu May 25 18:38:23 2023 -0400
@@ -130,7 +130,7 @@
 
       - name: Install postgres
         run: |
-          sudo apt-get install postgresql
+          sudo apt-get update && 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

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