From 0d22c000694fa13eddbaca4d6d48c5a120e2800e Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Mon, 14 Oct 2024 14:45:40 +0300 Subject: [PATCH] WIP: Debug with ssh --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a44bb6ff..eab721e29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ env: REGISTRY_PASSWORD: ${{ github.token }} IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }} # This is required for running GUI tests on Github Actions - DISPLAY: ":99.0" + #DISPLAY: ":99.0" QT_SELECT: "qt6" # Disable multiple concurrent runs on the same branch @@ -334,6 +334,12 @@ jobs: run: | echo ${{ github.token }} | podman login ghcr.io -u USERNAME --password-stdin + - name: Setup upterm session + uses: lhotari/action-upterm@v1 + with: + ## limits ssh access and adds the ssh public key for the user which triggered the workflow + limit-access-to-actor: true + - name: Get current date id: date run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT @@ -356,6 +362,5 @@ jobs: - name: Run CI tests run: |- - xvfb-run -s "$DISPLAY -screen 0 1280x1024x24" \ - ./dev_scripts/env.py --distro ${{ matrix.distro }} --version ${{ matrix.version }} run --dev \ + xvfb-run -a ./dev_scripts/env.py --distro ${{ matrix.distro }} --version ${{ matrix.version }} run --dev \ bash -c 'cd dangerzone; poetry run make test'