Skip to content

Commit 9b87e04

Browse files
committed
Add troubleshooting to VIM test
1 parent ca0aa89 commit 9b87e04

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/vim-test.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ jobs:
6262
repository: thinca/vim-themis
6363
path: vim-themis
6464

65-
# - name: Debug if run with debugging enabled
66-
# uses: owenthereal/action-upterm@v1
67-
6865
- name: Run Themis with full CLI
6966
env:
7067
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
@@ -74,3 +71,14 @@ jobs:
7471
env:
7572
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
7673
run: ./vim-themis/bin/themis ./test/vim-simple-test.vim
74+
75+
- name: Start VS Code Tunnel if failed or in debug mode
76+
if: ${{ failure() || runner.debug == '1' }}
77+
#v0.0.2 - Pinned for security
78+
uses: justingrote/vscode-action@5d495ef6156c20f1f9bb21031c15776d476c10c3
79+
with:
80+
#All these settings are optional
81+
tunnel-name: 'pses-action-tunnel'
82+
connection-timeout: 2
83+
session-timeout: 30
84+
no-cache-cli-auth: true

0 commit comments

Comments
 (0)