From 325a10c2a16175c806d4d6e84a606ac5d6f5aa4b Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Sun, 23 Jun 2024 09:52:25 +0200 Subject: [PATCH] TASK: Document CI hack --- .github/workflows/tests.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7751ae9..ab22063 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -109,19 +109,13 @@ jobs: dbname: 'neos_functional_testing' EOF - - name: Setup database schema - run: | - cd ${NEOS_BASE_FOLDER} - ./flow doctrine:migrate --quite - - - name: Setup CR - run: | - cd ${NEOS_BASE_FOLDER} - ./flow cr:setup - - name: Run Behavioral tests run: | cd ${NEOS_BASE_FOLDER} + # we have to doctrine migrate and setup the cr here as otherwise a transaction error will occur: + # see also https://github.com/neos/neos-development-collection/pull/5005 + FLOW_CONTEXT=Testing ./flow doctrine:migrate --quiet; FLOW_CONTEXT=Testing ./flow cr:setup + cd Packages/Application/Neos.RedirectHandler.NeosAdapter composer run test:behavioral:stop-on-failure