From 1c8b81ca2c407726b207e0f01ba498fdc100a1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Mon, 10 Jun 2024 23:05:16 +0200 Subject: [PATCH] Run a SSH session in the github actions container for better debugging --- .github/workflows/tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 31682d6a..c751f631 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -64,7 +64,7 @@ jobs: sudo -u postgres createuser -s -d -r -w runner if: matrix.db-type == 'postgres' - #- name: Setup MySQL + #- name: Setup MySQL # uses: mirromutth/mysql-action@v1.1 # with: # mysql version: 5.7 @@ -154,5 +154,9 @@ jobs: env: DATABASE_URL: mysql://root:root@localhost:3306/legacy_db + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + if: ${{ failure() }} +