From 4cbe4223431a69ed909a8da94f3b335ea9086936 Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Sat, 22 Jun 2024 20:04:54 +0300 Subject: [PATCH] added start-tmate step --- .github/workflows/cicd.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index b1ebdae..4cea483 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -11,6 +11,11 @@ name: CICD description: "SR Linux version" required: true default: "23.3.2" + start-tmate: + description: "start tmate before running tests" + type: boolean + required: false + default: false pull_request: push: tags: @@ -59,6 +64,10 @@ jobs: # username: ${{ github.actor }} # password: ${{ secrets.GITHUB_TOKEN }} + - name: start tmate session + uses: mxschmitt/action-tmate@v3 + if: ${{ inputs.start-tmate }} + - name: Test run: ./run.sh ci-test