From 35f741a55171fceafbc757d753bdd4d1547f56d2 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Mon, 14 Oct 2024 23:15:12 +0200 Subject: [PATCH] ci: properly try to install libpcre on ubuntu if doesn't exist --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc0ac57f8..aea4e135a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,11 +109,10 @@ jobs: - name: Run tests run: | - sudo apt-get update - sudo apt-get install -y libpcre3 libpcre3-dev - postgres_enabled=0 if [ ${{ runner.os }} == "Linux" ]; then + sudo apt-get update + sudo apt-get install -y libpcre3 libpcre3-dev sudo docker run --rm -d -e POSTGRES_PASSWORD=test123 -p 5432:5432 postgres:15.4-alpine3.18 postgres_enabled=1 fi