From 68c76ced8b40af9c81a9f57d6e2f479227021d59 Mon Sep 17 00:00:00 2001 From: kwasniew Date: Tue, 24 Oct 2023 12:17:52 +0200 Subject: [PATCH] chore: disable fsync in gh action postgres to speed up the tests --- .github/workflows/build.yaml | 1 + .github/workflows/build_coverage.yaml | 1 + .github/workflows/build_prs_jest_report.yaml | 1 + .github/workflows/build_prs_test_report.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 669796929120..3166751049ba 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -24,6 +24,7 @@ jobs: # Provide the password for postgres env: POSTGRES_PASSWORD: postgres + POSTGRES_INITDB_ARGS: "--no-sync" # Set health checks to wait until postgres has started ports: - 5432:5432 diff --git a/.github/workflows/build_coverage.yaml b/.github/workflows/build_coverage.yaml index 10c98c59e7dc..415f9e9ef0b2 100644 --- a/.github/workflows/build_coverage.yaml +++ b/.github/workflows/build_coverage.yaml @@ -24,6 +24,7 @@ jobs: # Provide the password for postgres env: POSTGRES_PASSWORD: postgres + POSTGRES_INITDB_ARGS: "--no-sync" # Set health checks to wait until postgres has started ports: - 5432:5432 diff --git a/.github/workflows/build_prs_jest_report.yaml b/.github/workflows/build_prs_jest_report.yaml index 1eddf90f12c8..d0fd07fa1259 100644 --- a/.github/workflows/build_prs_jest_report.yaml +++ b/.github/workflows/build_prs_jest_report.yaml @@ -22,6 +22,7 @@ jobs: # Provide the password for postgres env: POSTGRES_PASSWORD: postgres + POSTGRES_INITDB_ARGS: "--no-sync" # Set health checks to wait until postgres has started ports: - 5432:5432 diff --git a/.github/workflows/build_prs_test_report.yaml b/.github/workflows/build_prs_test_report.yaml index bc91b482e93d..3d8bbc749bba 100644 --- a/.github/workflows/build_prs_test_report.yaml +++ b/.github/workflows/build_prs_test_report.yaml @@ -16,6 +16,7 @@ jobs: # Provide the password for postgres env: POSTGRES_PASSWORD: postgres + POSTGRES_INITDB_ARGS: "--no-sync" # Set health checks to wait until postgres has started ports: - 5432:5432