From a151e81f08c6565353320a179c2a951b27175d0c Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Wed, 24 Apr 2024 14:36:59 +0200 Subject: [PATCH] Run functional test workflows on Ubuntu 20.04 --- .github/workflows/functional-tests.yml | 7 ++----- .github/workflows/startup-tests.yml | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/functional-tests.yml b/.github/workflows/functional-tests.yml index 6564f4ffa..b152d47f2 100644 --- a/.github/workflows/functional-tests.yml +++ b/.github/workflows/functional-tests.yml @@ -11,7 +11,7 @@ env: jobs: functional-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: backend-directory: ./backend working-directory: ./frontend @@ -27,10 +27,7 @@ jobs: options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 mailhog: image: mailhog/mailhog - ports: [ - "1025:1025", - "8025:8025" - ] + ports: ["1025:1025", "8025:8025"] strategy: max-parallel: 4 diff --git a/.github/workflows/startup-tests.yml b/.github/workflows/startup-tests.yml index edee09781..c68b4a0ac 100644 --- a/.github/workflows/startup-tests.yml +++ b/.github/workflows/startup-tests.yml @@ -11,7 +11,7 @@ env: jobs: startup-functional-test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 services: postgres: @@ -92,7 +92,7 @@ jobs: ${{ env.working-directory }}/tests/reports/ retention-days: 5 startup-docker-compose-test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: COMPOSE_TEST: True steps: