devcontainer: CI fix (#29534)

Export xauthority before running devcontainer
old-commit-hash: df9564e172
This commit is contained in:
Kacper Rączy 2023-08-22 14:14:14 -07:00 committed by GitHub
parent a967592f8f
commit e250480db6
1 changed files with 3 additions and 1 deletions

View File

@ -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