A platform for community discussion. Free, open, simple.
DEV: Clone CI databases after parallel setup completes (#44107)
Alan Guo Xiang Tanb9f5e76cc179
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 569e1a69e79..41da2249431 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -193,11 +193,7 @@ jobs:- parallel:- name: Migrate database- run: |- bin/rake db:migrate- if [ "$USES_PARALLEL_DATABASES" = "true" ]; then- bin/rake parallel:clone- fi+ run: bin/rake db:migrate- name: Ember Buildif: matrix.build_type == 'system' || matrix.build_type == 'frontend'@@ -236,6 +232,10 @@ jobs:TEMPORARY_DB_PORT: "11001"run: bin/rake db:check_structure_dump+ - name: Clone databases for parallel tests+ if: env.USES_PARALLEL_DATABASES == 'true'+ run: bin/rake parallel:clone+- name: Fetch turbo_rspec_runtime.log cacheuses: actions/cache@v6id: test-runtime-cache