From eeefd9d98774c5826c3b09fbc978bc001ebb287b Mon Sep 17 00:00:00 2001 From: Alexander Goscinski Date: Fri, 24 Jan 2025 14:12:20 +0100 Subject: [PATCH] Only initialize containers if required --- .github/workflows/ci-code.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index d0135820c..17ff6147a 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -39,6 +39,7 @@ jobs: services: postgres: + if: matrix.os == 'ubuntu-24.04' && matrix.database-backend == 'psql' image: postgres:10 env: POSTGRES_DB: test_aiida @@ -52,6 +53,7 @@ jobs: ports: - 5432:5432 rabbitmq: + if: matrix.os == 'ubuntu-24.04' image: rabbitmq:3.8.14-management ports: - 5672:5672