From e250480db6d6723127130f4ed3db60478224ec58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20R=C4=85czy?= Date: Tue, 22 Aug 2023 14:14:14 -0700 Subject: [PATCH] devcontainer: CI fix (#29534) Export xauthority before running devcontainer old-commit-hash: df9564e1722f589fa17e15bce55a4f179f58ab70 --- .github/workflows/tools_tests.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tools_tests.yaml b/.github/workflows/tools_tests.yaml index 04f73d21af..dff2a4b04d 100644 --- a/.github/workflows/tools_tests.yaml +++ b/.github/workflows/tools_tests.yaml @@ -105,6 +105,8 @@ jobs: - name: Build dev container image run: devcontainer build --workspace-folder . - name: Run dev container - run: devcontainer up --workspace-folder . + run: | + export XAUTHORITY="$HOME/.Xauthority" + devcontainer up --workspace-folder . - name: Test environment run: devcontainer exec --workspace-folder . scons --dry-run