From 095649145f42dd588594edb1ee780e395d028eda Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Sun, 19 May 2024 20:24:17 +0100 Subject: [PATCH] ci: add ssh debugging for end2end tests --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae2bfc7a..0c13a401 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -78,6 +78,8 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + - uses: mxschmitt/action-tmate@v3 + if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} # NOTE: dev/shm mount to prevent crashes during headless chrome - run: | docker build -f .ci/end2end_tests.Dockerfile . -t promnesia_end2end_tests @@ -89,6 +91,8 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + - uses: mxschmitt/action-tmate@v3 + if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} # NOTE: dev/shm mount to prevent crashes during headless chrome - run: | docker build -f .ci/end2end_tests.Dockerfile . -t promnesia_end2end_tests