Skip to content

Commit

Permalink
WIP: Debug with ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Oct 14, 2024
1 parent 4856b34 commit 0d22c00
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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'

0 comments on commit 0d22c00

Please sign in to comment.