From 39a555513b01c4dc157f64c1fb0d52b4523c7877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Holl=C3=BD?= <1708197+j2ghz@users.noreply.github.com> Date: Mon, 13 Nov 2023 19:49:39 +0100 Subject: [PATCH] Add HOME=/root to container samples in docs (#27832) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reference: #6500 (https://github.com/microsoft/playwright/issues/6500#issuecomment-1664210041) It seems that this is now required, so this PR applies that to the docs. Signed-off-by: Jozef HollĂ˝ <1708197+j2ghz@users.noreply.github.com> --- docs/src/ci-intro.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/src/ci-intro.md b/docs/src/ci-intro.md index 10e3e4d37f..85741e24ef 100644 --- a/docs/src/ci-intro.md +++ b/docs/src/ci-intro.md @@ -189,6 +189,8 @@ jobs: run: npm ci - name: Run your tests run: npx playwright test + env: + HOME: /root ``` ```yml python title=".github/workflows/playwright.yml" @@ -217,6 +219,8 @@ jobs: pip install -e . - name: Run your tests run: pytest + env: + HOME: /root ``` ```yml java title=".github/workflows/playwright.yml" @@ -242,6 +246,8 @@ jobs: run: mvn -B install -D skipTests --no-transfer-progress - name: Run tests run: mvn test + env: + HOME: /root ``` ```yml csharp title=".github/workflows/playwright.yml" @@ -266,6 +272,8 @@ jobs: - run: dotnet build - name: Run your tests run: dotnet test + env: + HOME: /root ``` ### On deployment